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

Add option to support different markdown flavors #117

Open
docwhat opened this issue May 28, 2014 · 2 comments
Open

Add option to support different markdown flavors #117

docwhat opened this issue May 28, 2014 · 2 comments

Comments

@docwhat
Copy link

docwhat commented May 28, 2014

pandoc supports multiple markdown flavors.

From pandoc version 1.12.0.2:

  • markdown
  • markdown_github,
  • markdown_mmd
  • markdown_phpextra
  • markdown_strict

It would be nice to be able to pick which versions are used by vim-pandoc. Specifically, I need markdown_phpextra for some of my projects for its table support.

An option like g:pandoc_markdown_flavor and an overriding b:pandoc_markdown_flavor for per-buffer settings would be ideal.

Thanks!

@fmoralesc
Copy link
Member

vim-pandoc/vim-pandoc-syntax already implements support for (simple, grid and pipe) tables. As the README says, vim-pandoc has been phased out in favor of the vim-pantondoc+vim-pandoc-syntax combo. The syntax file in this repo is now several months old.

That said, we could make it so the syntax highlighting works differently depending on what the buffer needs. We already do this in vim-pantondoc to enable the pandoc integration functions in textile files.

@docwhat
Copy link
Author

docwhat commented May 28, 2014

Oh. I read that and didn't grok it. I'll try the new plugins.

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

No branches or pull requests

2 participants