WnP / vimwiki_markdown

vimwiki markdown file to html with syntax highlighting.
MIT License
63 stars 17 forks source link

Convert vimwiki automatic links to Markdown syntax #4

Closed cweagans closed 4 years ago

cweagans commented 4 years ago

If I use :VimwikiGenerateLinks, it creates a bunch of links like this:

- [[foo]]
- [[bar]]

As far as I can see, there's not a way to get vimwiki to generate markdown-formatted links. Is that something that this script could handle gracefully?

WnP commented 4 years ago

Hi @cweagans,

VimwikiGenerateLinks call vimwiki#base#generate_links which is a pure vim script function. So there's no way for this project to handle that feature.

By the way it looks like there's some markdown support if you set vimwiki#vars#get_wikilocal('syntax') to markdown it may do what you want - not tested.

I'm closing this issue because it's out of the scope of this project. Feel free to open a new one on vimwiki to get support on this feature.

Hope this help.