Commit Graph

1 Commits

Author SHA1 Message Date
fefbee83e4 Initial commit.
Some checks failed
Build Base Application / Build (push) Failing after 0s
2024-12-03 14:16:44 +01:00
marked.setOptions({ highlight: function (code, lang) { // Use highlight.js to highlight the code const language = hljs.getLanguage(lang) ? lang : 'plaintext'; // Fallback to 'plaintext' if no language is found return hljs.highlight(language, code).value; // Return the highlighted code } });