Skip to content

Commit 624a3a1

Browse files
committed
feat: distinguish asterisk thematic breaks
1 parent 04d52e9 commit 624a3a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎EdgeMark/Core/Editor/EditorConfigFactory.swift‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ extension MarkdownEditorConfiguration {
2626
uncheckedSymbolName: preset.uncheckedSymbolName,
2727
checkedSymbolName: preset.checkedSymbolName,
2828
)
29+
// Keep the source portable while letting authors opt into a quieter,
30+
// centered divider with ***. Dash and underscore rules stay full-width.
31+
config.thematicBreak.asteriskMark = "* * *"
2932
config.services = MarkdownEditorServices(
3033
images: EdgeMarkImageProvider(noteFolder: noteFolder),
3134
syntaxHighlighter: HighlighterSwiftBridge(),

0 commit comments

Comments
 (0)