mirror of
https://github.com/heyman/heynote.git
synced 2025-08-09 22:57:45 +02:00
Add support for Rust, XML and C++
Remove Lezer support
This commit is contained in:
@ -1,6 +1,20 @@
|
||||
importScripts("highlight.min.js")
|
||||
|
||||
const HIGHLIGHTJS_LANGUAGES = ["json", "python", "javascript", "html", "sql", "java", "plaintext"]
|
||||
const HIGHLIGHTJS_LANGUAGES = [
|
||||
"json",
|
||||
"python",
|
||||
"javascript",
|
||||
"html",
|
||||
"sql",
|
||||
"java",
|
||||
"plaintext",
|
||||
"cpp",
|
||||
"php",
|
||||
"css",
|
||||
"markdown",
|
||||
"xml",
|
||||
"rust",
|
||||
]
|
||||
|
||||
onmessage = (event) => {
|
||||
//console.log("worker received message:", event.data)
|
||||
|
Reference in New Issue
Block a user