Commit Graph

1 Commits

Author SHA1 Message Date
64e8004e5a Updated build config. 2024-12-02 15:10:18 +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 } });