Diary 2023-08-27
I've gotten the prototype highlighter working well enough, for now, so I decided to try to get its output usable with Cohost. After smacking my head against it a bunch, I found the things that need to be done to use Pygments with Cohost:
- Use the "Lightbulb" theme, or a similar dark theme.
- However, replace the line number colors with whatever is the "default" color according to the scheme.
- Replace all linebreaks in the HTML output with <br> tags.
The result looks a little weird to me, but it should serve.
Anyway, I got distracted and it's late, going to bed now byyyyyye
Good night.