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.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct