AgeCommit message (Collapse)AuthorLines
Reorganize into source, assets and librariesBryce Kwon-314/+0
The C sources move to source/, the served files to assets/, the bundled Git submodule to libraries/git and the filter scripts to extensions/. Everything the build generates now lands in build/, so a clean is a single remove and the tree stays clean.
md2html: use proper formatting for hrChristian Hesse-5/+1
This addressed a non-existent background image and made the element invisible. Drop the style and use something sane. Signed-off-by: Christian Hesse <mail@eworm.de>
md2html: use sane_lists extensionJason A. Donenfeld-0/+1
This allows for cleaner nesting semantics and matches github more closely. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
filters: generate anchor links from markdownChristian Hesse-2/+15
This makes the markdown filter generate anchor links for headings. Signed-off-by: Christian Hesse <mail@eworm.de> Tested-by: jean-christophe manciot <actionmystique@gmail.com>
md2html: use utf-8 and flush output bufferJason A. Donenfeld-6/+11
Otherwise we get the classic Python UTF-8 errors, and the text is all out of order. While we're at it, switch to python3 so we only have to support one set of oddball semantics. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Suggested-by: Daniel Campbell <dlcampbell@gmx.com>
md2html: Do syntax highlighting tooJason A. Donenfeld-1/+5
md2html: the default of stdin works fineJason A. Donenfeld-2/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
filters: misc cleanupsJason A. Donenfeld-2/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
md2html: use pure pythonJason A. Donenfeld-6/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
filters: Simplify convertersJason A. Donenfeld-1734/+284
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
filters: apply HTML escapingLazaros Koromilas-1/+1
http://www.w3.org/International/questions/qa-escapes#use
remove trailing whitespaces from source filesChristian Hesse-18/+18
filters: toggle perl utf8 situationJason A. Donenfeld-4/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
filters: import more modern scriptsJason A. Donenfeld-0/+1748
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>