Website Summary Files Commits Branches @commit @diff @stats
path: root / filters / html-converters
Commit message (Collapse)AuthorAgeLinesSHA
* css: Support for dark mode
 Samuel Lidén Borell
2026-09-18-2/+282e40a36
| | | | | | | | | | | | | | | | | | Modern browsers have a "dark mode" preference, which enables alternate styles on web sites that support this. This patch adds a dark color scheme, that is automatically activated via a CSS @media query. Older browsers that do not support color schemes will simply show the light scheme, but possibly without syntax highlighting. Note that filters that use color (such as source highlighters) and logotypes may need to be updated to work with a black background! See the updated files in the filters/ directory. Signed-off-by: Samuel Lidén Borell <samuel@kodafritt.se> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* md2html: use proper formatting for hr
 Christian Hesse
2021-05-12-5/+162eb8db
| | | | | | | 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 extension
 Jason A. Donenfeld
2020-12-29-0/+1f69626c
| | | | | | | 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 markdown
 Christian Hesse
2018-08-28-2/+15b0fc647
| | | | | | | 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 buffer
 Jason A. Donenfeld
2016-06-17-6/+117d51120
| | | | | | | | | 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 too
 Jason A. Donenfeld
2016-02-23-1/+51892cd9
|
* md2html: the default of stdin works fine
 Jason A. Donenfeld
2015-10-12-2/+13f9e14a
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* filters: misc cleanups
 Jason A. Donenfeld
2015-10-12-2/+1c301899
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* md2html: use pure python
 Jason A. Donenfeld
2015-10-12-6/+9ccb4254
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* filters: Simplify converters
 Jason A. Donenfeld
2015-10-09-1734/+284525c815
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* filters: apply HTML escaping
 Lazaros Koromilas
2015-08-12-1/+113c2d3d
| | | | http://www.w3.org/International/questions/qa-escapes#use
* remove trailing whitespaces from source files
 Christian Hesse
2014-04-17-18/+18b431282
|
* filters: toggle perl utf8 situation
 Jason A. Donenfeld
2013-05-28-4/+06d6f8bd
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* filters: import more modern scripts
 Jason A. Donenfeld
2013-05-27-0/+17488149be2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>