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

"Conversion to HTML is not supported" when setting new paths #15

Closed
ofefo opened this issue Jan 27, 2021 · 1 comment
Closed

"Conversion to HTML is not supported" when setting new paths #15

ofefo opened this issue Jan 27, 2021 · 1 comment

Comments

@ofefo
Copy link

ofefo commented Jan 27, 2021

I have no problem to run Vimwiki2HTML with vimiwiki_markdown with this configuration:

set nocompatible
filetype plugin on
let g:vimwiki_list = [{
                        \ 'path':'~/git/wiki',
                        \ 'path_html':'~/git/wiki/html/', 
                        \ 'syntax': 'markdown', 
                        \ 'ext': '.md', 
                        \ 'custom_wiki2html': 'vimwiki_markdown', 
                        \ 'template_ext': '.tpl'}]

I've figured out this could be a faster way to write simple entries for a blog, so I'm trying to setup a command to change the default paths temporarily using this:

let blogmode = [{
                        \ 'path':'~/git/blog/md/',
                        \ 'path_html':'~/git/blog/html/',
                        \ 'syntax': 'markdown',
                        \ 'ext': '.md',
                        \ 'custom_wiki2html': 'vimwiki_markdown',
                        \ 'template_ext': '.tpl'}]
autocmd FileType markdown map <leader>bm :w<CR>:let g:vimwiki_list = blogmode<CR>:echo "Blog mode"<CR>

But unfortunately, I keep receiving the message "Vimwiki Error: Conversion to HTML is not supported for this syntax".
Am I doing something wrong?

@WnP
Copy link
Owner

WnP commented Mar 25, 2021

Hi @ofefo,

Actually it's a vimwiki error so it's not related to this project, I suggest you open an issue on vimwiki directly.

Thanks

@WnP WnP closed this as completed Mar 25, 2021
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