Commit Graph

2 Commits

Author SHA1 Message Date
Wilhelm Oks
3824735fe1 added Sendable and other corrections 2024-12-22 17:24:48 +01:00
Wilhelm Oks
ce3c96b887 Requests WIP 2024-12-20 16:19:17 +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 } });