My FeedDiscussionsHashnode Enterprise
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

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.