开源软件名称(OpenSource Name):patrickdavey/vimwiki_markdown开源软件地址(OpenSource Url):https://github.com/patrickdavey/vimwiki_markdown开源编程语言(OpenSource Language):Ruby 90.0%开源软件介绍(OpenSource Introduction):VimwikiMarkdownThis gem allows vimwiki pages written in (github enhanced) markdown to be converted to HTML. It is currently a work in progress (but working for me ;) ExampleIt turns this: into RequirementsRuby installed on your computer & up to date version of vimwiki
Install the vimwiki_markdown gem
Setupvimwiki_markdown works best with a recent version of vimwiki. Use the Ensure that your vimiwiki directive in your .vimrc is setup for markdown. For this we use the custom_wiki2html parameter. My .vimrc looks like this:
The most important parts are the 'custom_wiki2html': 'vimwiki_markdown' and the 'html_filename_parameterization': 1. The custom_wiki2html tells vimwiki to use this gem for creating html, the html_filename_parameterization tells vimwiki to match the filenames that vimwiki_markdown produces. Install issues.There have been some issues with getting dependencies installed. Before opening an issue, please check if you can use rvm to install the gem, as RVM is magic and makes everything work ;) VimWiki TemplateIt is a requirement that your template file contain a placeholder
for the syntax highlighting code to be placed. In order to do this,
open up your default.tpl (or whatever your template file is called)
and ensure that before the closing tag you put
A sample tpl file is available here https://raw.githubusercontent.com/patrickdavey/vimwiki_markdown/master/example_files/default.tpl Optional %root_html% marker.You can also have a Optional %date% marker.You can also have a Support for tasklistsVimwiki has support for complex todo lists which you can read about in their help.txt. We do support turning them into HTML. This is slightly different from the way that GitHub checklists are rendered, but, the syntax is a subset of GitHub lists so it should be fine. You can read about it in the issue, but basically it should work fine. You will want to add Support for :local and :file linksWe have partial support for the
Optional %nohtmlIf you place the text %nohtml anywhere in a wiki page, it will not be processed into html ContributingPull requests are very welcome
License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论