Skip to content

Commit b0b1edc

Browse files
committedFeb 6, 2025
Update Markdown FunctionList to allow spaces before header lines
1 parent 16d083e commit b0b1edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎functionList/udl_markdown.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parser displayName="Markdown (preinstalled)"
1212
id="Markdown (preinstalled)"
1313
commentExpr="">
14-
<function mainExpr="(?x-s)(^[#]+\s*(.*?)$|^(.*)(?=[\r\n]+^([-=])\4{2,}\s*$))"/>
14+
<function mainExpr="(?x-s)(^\h*\K[#]+\h*(.*?)$|^(.*)(?=[\r\n]+^([-=])\4{2,}\h*$))"/>
1515
</parser>
1616
</functionList>
1717
</NotepadPlus>

0 commit comments

Comments
 (0)
Please sign in to comment.