You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a line starting with a colon to denote a definition list is a widely used Markdown extension. Adding the following line to paragraph-start allows one to fill such definition paragraphs without having them collapse with the previous line (the defined term).
diff --git a/markdown-mode.el b/markdown-mode.el
index e61ef78..7ef0889 100644
--- a/markdown-mode.el+++ b/markdown-mode.el@@ -5090,6 +5090,7 @@ before regenerating font-lock rules for extensions."
"[ \t]*[*+-][ \t]+" ; unordered list item
"[ \t]*\\(?:[0-9]+\\|#\\)\\.[ \t]+" ; ordered list item
"[ \t]*\\[\\S-*\\]:[ \t]+" ; link ref def
+ "[ \t]*:[ \t]+" ; definition
)
"\\|"))
(set
The text was updated successfully, but these errors were encountered:
This is related to the definition list extension as defined by PHP
Markdown Extra, Pandoc, and so on. This patch prevents definitions from
collapsing with the previous line (the defined term) when filling.
This closes the following issue:
#20
Thanks to Marijn Haverbeke (@marijnh) for the patch.
Using a line starting with a colon to denote a definition list is a widely used Markdown extension. Adding the following line to
paragraph-start
allows one to fill such definition paragraphs without having them collapse with the previous line (the defined term).The text was updated successfully, but these errors were encountered: