[ ] Include a .json file to change the <header> CSS highlight styles
[ ] Simply include a <link ...> file to main.css and just override highlight styles there (e.g: edit HTML template file and hardcode CSS file there)
You can find the basic documentation here ... though I've forgotten how the bloody html templates and flags work in the npm command for Pandoc rendering the template in terminal. I think it's wise to use Pandoc templates frugally as, to me, the documentation is as clear as mud and likely to change.
Outputs a .json file, which I think you could replace with --css-variables at least to create a light and dark theme. The core Skylighting css file might be better suited to live in print-first-css, only extending it in Anki themes if absolutely necessary.
It'd then be a simple case of changing the values for --css-variables in a simple colours.less file!!!
Also see this comment about Skylighting's downsides.
main.css
file contents in<header>
using Yaml? (interesting but not relevant essay post).json
file to change the<header>
CSS highlight styles<link ...>
file tomain.css
and just override highlight styles there (e.g: edit HTML template file and hardcode CSS file there)You can find the basic documentation here ... though I've forgotten how the bloody html templates and flags work in the npm command for Pandoc rendering the template in terminal. I think it's wise to use Pandoc templates frugally as, to me, the documentation is as clear as mud and likely to change.
Outputs a
.json
file, which I think you could replace with--css-variables
at least to create a light and dark theme. The core Skylighting css file might be better suited to live inprint-first-css
, only extending it in Anki themes if absolutely necessary.It'd then be a simple case of changing the values for
--css-variables
in a simplecolours.less
file!!!Also see this comment about Skylighting's downsides.