Skip to content

Commit

Permalink
Allow all HTML tags in MarkdownAttributeElementOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rycoll committed Aug 21, 2024
1 parent 7f4f4ce commit 4baad2e
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Record<keyof HTMLElementTagNameMap, AttributeListPosition>>;

export interface MarkdownSettings {
engine: 'commonmark' | 'kramdown';
Expand Down

0 comments on commit 4baad2e

Please sign in to comment.