Syntax highlighting for fenced code blocks #185
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HPR/hpr_generator#185
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting
Is it possible to preserve the language for fenced code blocks so the show notes would have syntax highlighting
This is a nice feature, however it is implemented (or was last time I looked) by lots of
<span>
and<div>
tags. When the show arrives on the Internet Archive (IA) these are all stripped out.In short, I disabled this feature because at the time the IA stripped all but the most basic HTML. I'd be happy to review it; the IA code is changed silently over time, so this might no longer be the case.