anki
anki copied to clipboard
Someday compile `skylighting.less` from a `json` file?
- Look through the compiled CSS that comes with the base html template
- Check for things like
span.smallcapsanddiv.columns— can it be safely deleted?[^1]- How difficult is it to reason about different colour themes?
- Make sure at least the two default
skylighting.lessthemes are correct
- You'll need to edit
lightin Print First CSS
This may or may not happen someday in the future. Feel free to try yourself and submit a pull request in the meantime! Pandoc generates the CSS for the Skylighting code highlighter with a json file.
- #94
- #127
- #73
- #67 (the
jsonfile for Pandoc Skylighting) - #54
- #52
Skylighting — could do better
This article outlines some problems with Skylighting Below are examples of Pandoc's highlighting (1) This is compared with Visual Studio Code (2)
Function <span class="fu"> is too generic
Parentheses aren't styled (no <span> wrapper)
[^1]: Some things like the .task-list could come in very handy (and may need extending #40)