class4kayaker / pelican_pandoc_reader Goto Github PK
View Code? Open in Web Editor NEWBasic plugin to use Pandoc for generating internal html for Pelican
License: MIT License
Basic plugin to use Pandoc for generating internal html for Pelican
License: MIT License
I found myself wanting to add the footnotes
Markdown extension to the basic Pandoc Markdown default extensions.
The way to do this on the Pandoc command line is add the extensions to the Markdown flavor, as in:
pandoc -f markdown+footnotes mypost.pdc -o mypost.html
I see the PANDOC_EXTENSION
configuration variable, but I think this is not what I want, because it adds stuff to the --filter
command line, not to the Markdown flavor. It might be better if that variable was called PANDOC_FILTERS
or similar.
What would be the best way of adding / removing Markdown extensions from the default input format? At the moment I do something a bit ugly in my pelicanconf.py
:
# Set pandoc markdown flavor
sys.path.append(pjoin('plugins', 'pelican_pandoc_reader'))
import pelican_pandoc_reader as pdr
pdr.pandoc_fmt_map['pdc'] = 'markdown+footnotes'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.