Syntax highlight configuration

This commit is contained in:
Tom Wiesing 2023-02-26 20:10:25 +01:00
parent ccf8473ee2
commit 80906d3791
No known key found for this signature in database
13 changed files with 138 additions and 58 deletions

View file

@ -3,4 +3,9 @@ import "~/src/lib/highlight"
// include the user styles!
import "../User/index.ts"
import "../User/index.css"
import "../User/index.css"
// highlight everything
import "highlight.js/styles/default.css"
import highlightJs from "highlight.js"
highlightJs.highlightAll();