Giter Club home page Giter Club logo

vimwiki_md2html's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vimwiki_md2html's Issues

spaces in links/markdown filenames

So I can't quite figure out if this is an issue with vimwiki or something that should be added in this script, but when the filename of an input markdown file has spaces in it (which is understandable considering creating links that have spaces in them is common), like: /Users/username/vimwiki/hello world.md, vimwiki passes the filename with the spaces...and with the current usage of argparse, the script understandably complains about not being able to find /Users/username/vimwiki/hello.

So, is there a way to mess with argparse so it can handle spaces in the filenames (I don't know, but after ~20 mins of looking around, i can't find an easy way in this context), or is this an issue to be brought up with the vimwiki folks to change the filepath that's passed to a custom wiki2html script so it's delimited with quotes?

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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.