Sign in
Log inSign up

Language Specific Code Highlighting

Blaine Garrett's photo
Blaine Garrett
·Jul 24, 2020·

1 min read

If it doesn't already exist, it would be a great feature for readability.

Use case: My articles are a mix of TypeScript, Json, shell commands and shell output, etc. It would be great to designate syntax highlighting schemes per type. Right now, it seems like it either attempts to guess or uses the same highlighting for all languages, which makes for some confusingly colored code blocks.

Note: I am using the triple tilde syntax in markdown.