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

Multiple paragraphs in list items #9

Closed
hujunfeng opened this issue May 24, 2010 · 1 comment · Fixed by #39
Closed

Multiple paragraphs in list items #9

hujunfeng opened this issue May 24, 2010 · 1 comment · Fixed by #39

Comments

@hujunfeng
Copy link

List items in Markdown may have multiple paragraphs, and each subsequent paragraph in a list item is intended by either 4 spaces or one tab. However, vim-markdown treats all subsequent paragraphs
as code blocks. Code blocks actually must be intended by 8 spaces or two tabs in a list item.

See an example in http://daringfireball.net/projects/markdown/index.text:

1.  Copy the "Markdown.pl" file to appropriate filters folder in your
    "BBEdit Support" folder. On Mac OS X, this should be:

        BBEdit Support/Unix Support/Unix Filters/

    See the BBEdit documentation for more details on the location of
    these folders.

The output is:

  1. Copy the "Markdown.pl" file to appropriate filters folder in your
    "BBEdit Support" folder. On Mac OS X, this should be:
   BBEdit Support/Unix Support/Unix Filters/
  See the BBEdit documentation for more details on the location of
  these folders.

And here is the screenshot of how vim-markdown highlights the code: http://imgur.com/2i5Xy.png

The second paragraph is a code block, while the third paragraph is a normal paragraph, which should not be highlighted.

@cassava
Copy link
Contributor

cassava commented Dec 4, 2012

I observe this behavior as well.

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 a pull request may close this issue.

2 participants