diff --git a/index.html b/index.html index c10107f..8f044b0 100644 --- a/index.html +++ b/index.html @@ -1,327 +1,291 @@ - + +
- -' +
+ hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +
+ '';
+ } catch (__) {}
+ }
+ // Use escapeHtml for plain text
+ return '' + md.utils.escapeHtml(str) + '';
+ }
+ });
+
+ // Render Markdown
+ const contentDiv = document.getElementById('content');
+ contentDiv.innerHTML = md.render(markdownContent);
+
+ // Activate Lucide Icons
+ lucide.createIcons();
+ });
+