all repos — py-vite @ 7336fbd77ce875636a8bb2009795c0c00b6066c7

the original vite, written in python

Now supports fenced code blocks

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Thu, 21 Mar 2019 21:49:44 +0530
commit

7336fbd77ce875636a8bb2009795c0c00b6066c7

parent

d2732b96cc98e58b8dd49a126dded29dbb876f92

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M setup.pysetup.py

@@ -16,7 +16,7 @@ url='https://github.com/icyphox/vite',

license='MIT', packages=['vite'], install_requires=[ - 'markdown2', 'Jinja2', 'huepy', + 'markdown2', 'Jinja2', 'huepy', 'pygments', ], entry_points={ 'console_scripts': [
M vite/vite.pyvite/vite.py

@@ -112,7 +112,7 @@ return page_template

def markdown_render(filename): - html_text = markdown_path(os.path.join(PAGES_PATH, filename), extras=['metadata']) + html_text = markdown_path(os.path.join(PAGES_PATH, filename), extras=['metadata', 'fenced-code-blocks']) return html_text