From db02f77762104d8bdc1a1e60f117612f19dda8c5 Mon Sep 17 00:00:00 2001 From: notnull Date: Sat, 6 Apr 2024 20:06:30 -0400 Subject: [PATCH] add notes about classless CSS and syntax highlighting --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5f24cc2..a5f9fae 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,8 @@ It also generates a standalone website. To view the website: cd public python3 -m http.server +### some notes on HTML +Usually I like to convert Pandoc documents as fragments and add my own document structure, to cut down on the messy markup Pandoc adds. For HTML in particular I like to see how little I can get away with by using [classless CSS](https://github.com/dbohdan/classless-css) for the style. However in this case I combined the two because Pandoc applies classes to each code token (i.e., it applies syntax highlighting) and there's no way to do this without Pandoc's preamble. + +- [ ] TODO figure out how to extract the syntax highlighting from Pandoc's HTML template