Commit Graph

4 Commits

Author SHA1 Message Date
Wilhelm Oks
3824735fe1 added Sendable and other corrections 2024-12-22 17:24:48 +01:00
Wilhelm Oks
edd526d2aa fix for multitype json for attached_image 2024-12-17 16:55:00 +01:00
Wilhelm Oks
fc331b32c3 Models WIP: RantFeed 2024-12-12 13:05:58 +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 } });