Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Pandoc's fancy_lists extension #3

Closed
wants to merge 1 commit into from

Conversation

zklhp
Copy link

@zklhp zklhp commented Jul 15, 2015

Hi Jason,
The Pandoc version of Markdown has a fancy_lists extension (see http://pandoc.org/README.html#ordered-lists), which means # can be used as ordered list marker. At present the markdown-mode fontified #. blah blah as header. This is inconvenient. This pull request makes markdown-mode recognize #. not as header marker but as list marker. I hope this can be accepted. Thanks.

@jrblevin
Copy link
Owner

Thanks for this patch. It broke one of the test cases regarding ATX headers, so I had to use a slightly different regular expression. I also added support for filling "fancy lists" and test cases for font lock and filling. See commit 4b8ac27.

@jrblevin jrblevin closed this Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants