Skip to content

Commit

Permalink
fix(codeblock): Add missing language snippet highlight colouring
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Jung <alex@unikraft.io>
  • Loading branch information
nderjung committed Feb 1, 2024
1 parent c957c35 commit f43b794
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/mdx-components/codeblock/highlight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ import 'prismjs/components/prism-clike'
import 'prismjs/components/prism-docker'
import 'prismjs/components/prism-yaml'
import 'prismjs/components/prism-diff'
import 'prismjs/components/prism-rust'
import 'prismjs/components/prism-python'
import 'prismjs/components/prism-toml'
import 'prismjs/components/prism-json'

const RE = /{([\d,-]+)}/

Expand Down

0 comments on commit f43b794

Please sign in to comment.