ratfactor / vviki

AsciiDoc-flavored wiki plugin for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add hints for conversion from VimWiki/Markdown content to AsciiDoc wiki

ratfactor opened this issue · comments

Document some helpful tips and/or provide example scripts for converting VimWiki .wiki or Markdown .md syntax to AsciiDoc for use with VViki.

Regex examples for converting links, headings, verbatim blocks, etc.

Either include examples in the README or provide an actual sample script (I'm thinking Bash with something like find or cpio perhaps piped through sed to process each file and create a new directory tree with the converted documents).

As suggested in #2

@linux478 Interesting idea - export Vimwiki and/or Markdown to HTML and then to AsciiDoc? I might have to try that and see what happens! Thanks. :-)

Exporting Markdown -> AsciiDoc directly is better than going through HTML. Pandoc can do this somewhat decently (you still need to clean up your code a little)

Ah yes, for sure. But for wiki content in native VimWiki format, HTML output is the only thing Pandoc would be able to help with.