md2smint.py
transforms a md-File into a one page template html-File via the python markdown module.
IN: the markdown file Markdown in
and the checkbuttons
OUT: the HTML-file HTML out
will be generated using the template file md2smint.temp
in the subdirectory template
.
_in2out_: takeover the Markdown in
file name for the HTML out
file name. The extension will be *.html
.
The SubMenu comes from the page titles.
Button _in2out_: takeover the source file name for the target. The extension is from the target dropdown menu.
MathJax: Support for MathJax (→ LaTeX-like Math-Formula).
MathJax.js
increases the load time. Showdown: Support for the JavaScript Markdown-Parser Showdown
hr
: A horizontal rule between the sections.
The proper use of md2www
is based on the Python-Markdown module, which is a Python implementation of John Gruber’s Markdown.
start.sh
(Linux) or start.bat
(Windows).md2smint
is a python 2.7.x-script, which is tested under Linux and Windows.Thanks to
Waylan Limberg for Python-Markdown
John Gruber for Markdown
Robert McCracken for SMINT
→ sp, 2018-12-09, Mail: walter [dot] spiegel [at] web [dot] de
, show Source