From 9d56240591b10f37b639d55328322fe9abb88887 Mon Sep 17 00:00:00 2001 From: Aaron Czichon Date: Tue, 23 Jul 2024 16:31:53 +0000 Subject: [PATCH] style: improved notes section --- site/src/components/dynamic/Note.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 (
  • +

    {item.title}

    @@ -33,6 +34,7 @@ export default function NoteList({ item }) {


    +
  • ); } \ No newline at end of file