jason6 / vimwiki_md2html

Integrated markdown to html processing for vimwiki
14 stars 6 forks source link

misaka method smartypants, HTML_SKIP_STYLE, ... not found; and other errors #4

Open MahbubAlam231 opened 4 years ago

MahbubAlam231 commented 4 years ago

My .vimrc setup:

let g:vimwiki_ext2syntax = {'.md': 'markdown'}
let g:vimwiki_list = [{'path': '~/vimwiki/',
            \'syntax': 'markdown',
            \'ext': '.md',
            \'path_html': '~/vimwiki_html',
            \'custom_wiki2html': '~/.vim/plugged/vimwiki_md2html/misaka_md2html.py'}]

With this setup when I ran :Vimwiki2HTML, it threw some errors like:

SmartyPants not found
HTML_SKIP_STYLE etc not found.
unrecognized arguments: /home/mahbub/vimwiki/templates/ default .tpl

Idea of links in html working brought me to this repo. Would be thankful if you could help.

murchu27 commented 4 years ago

Getting a similar error on Windows:

ImportError: cannot import name 'SmartyPants' from 'misaka' (C:\Users\MMurphy\AppData\Local\Programs\Python\Python37\lib\site-packages\misaka\__init__.py)