Skip to content

Commit

Permalink
Basic support for filling of definitions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrblevin committed Sep 9, 2015
1 parent 5bb9bed commit 84a49f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84a49f6

Please sign in to comment.