mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 16:06:12 +02:00
feat: set up basic typography system for Markdown content
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from "react"
|
||||
import { graphql } from "gatsby"
|
||||
import { Markdown } from "../components/Markdown"
|
||||
import { SEO } from "../components/SEO"
|
||||
import { DocsLayout } from "../components/DocsLayout"
|
||||
|
||||
@@ -10,7 +11,7 @@ function LanguagePost({ data }: any) {
|
||||
return (
|
||||
<DocsLayout>
|
||||
<SEO title={frontmatter.title} />
|
||||
<div dangerouslySetInnerHTML={{ __html: html }} />
|
||||
<Markdown content={html} />
|
||||
</DocsLayout>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user