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
2a15f2ea73 Models WIP: Weekly, RantFeed 2024-12-12 12:24:35 +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 } });