Skip to content

deeply nested markdown #7

Open
Open
@gmdjango

Description

@gmdjango

Hi,

While it is not an issue of vim-pandoc-markdown-preview, since there is a possible solution, it would be great to solve it.

Problem: markdown which is deeply nested (say 5+ levels), is not parsed by pandoc to pdf

However, pandoc converts the same deply nested markdown to html just fine.

I was wondering, can you somehow make this work off an html file?

example of my mapping:
nnoremap <Leader>pd :w!<CR>:w!/home/myuser/tmp/vim-markdown.md<CR>:!pandoc -s -f markdown -t html -o /home/myuser/tmp/vim-markdown.html /home/myuser/tmp/vim-markdown.md<CR>:!dillo /home/myuser/tmp/vim-markdown.html > /dev/null 2> /dev/null&<CR><CR>

as you can see, i am using a temporary file, and a browser called dillo which has a very small footprint. But, it's not a real time rendering..

Let me know what you think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions