{item.title}
@@ -33,6 +34,7 @@ export default function NoteList({ item }) {+
diff --git a/site/src/components/dynamic/Note.jsx b/site/src/components/dynamic/Note.jsx index 725aaf8..30b1c0c 100644 --- a/site/src/components/dynamic/Note.jsx +++ b/site/src/components/dynamic/Note.jsx @@ -3,7 +3,7 @@ import markdownit from 'markdown-it'; const md = markdownit({ highlight: (str, lang) => { console.log(lang); - return '
' + md.utils.escapeHtml(str) + '
';
+ return '' + md.utils.escapeHtml(str) + '
';
}
});
@@ -25,6 +25,7 @@ export default function NoteList({ item }) {
return (