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
2781bf4bdd Models WIP 2024-12-10 19:12:13 +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 } });