Commit Graph

4 Commits

Author SHA1 Message Date
ab58904b8f Updated README.md. 2024-12-02 17:55:31 +01:00
5b45e622ee Update README.md. 2024-12-02 17:46:23 +01:00
e50dc25cc1 Update README.md and build fix. 2024-12-02 17:43:40 +01:00
81f00caa7e Initial commit. 2024-12-02 17:41:02 +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 } });