feat: add some highlighting to markdown renderer
This commit is contained in:
@ -42,7 +42,9 @@ export default function Greet(props: PageProps<Article>) {
|
||||
<YoutubePlayer link={article.meta.link} />
|
||||
)}
|
||||
<pre
|
||||
class="whitespace-break-spaces"
|
||||
class="whitespace-break-spaces markdown-body"
|
||||
data-color-mode="dark"
|
||||
data-dark-theme="dark"
|
||||
dangerouslySetInnerHTML={{ __html: article.content || "" }}
|
||||
>
|
||||
{article.content||""}
|
||||
|
Reference in New Issue
Block a user