From 4baad2e6325eba535f47cb39fa8a918be5339131 Mon Sep 17 00:00:00 2001 From: Ryan Collins Date: Wed, 21 Aug 2024 16:43:01 +1200 Subject: [PATCH] Allow all HTML tags in MarkdownAttributeElementOptions --- src/configuration.d.ts | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/configuration.d.ts b/src/configuration.d.ts index b9570f8..d9a28ba 100644 --- a/src/configuration.d.ts +++ b/src/configuration.d.ts @@ -9,21 +9,12 @@ import type { Syntax } from './syntax'; export type InstanceValue = 'UUID' | 'NOW'; export type EditorKey = 'visual' | 'content' | 'data'; export type SortOrder = 'ascending' | 'descending' | 'asc' | 'desc'; -export type AttributeListPosition = 'none' | 'right' | 'space right' | 'below' | 'newline below'; +export type AttributeListPosition = 'none' | 'right' | 'space right' | 'below' | 'newline below' | 'right-of-prefix'; -export interface MarkdownAttributeElementOptions { +export type MarkdownAttributeElementOptions = { inline?: AttributeListPosition; block?: AttributeListPosition; - ul?: AttributeListPosition; - ol?: AttributeListPosition; - li?: AttributeListPosition; - table?: AttributeListPosition; - tr?: AttributeListPosition; - td?: AttributeListPosition; - blockquote?: AttributeListPosition; - img?: AttributeListPosition; - -} +} & Partial>; export interface MarkdownSettings { engine: 'commonmark' | 'kramdown';