mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Change FestaMarkdownRenderer's header mapping
This commit is contained in:
parent
553d292634
commit
e85363c4f3
1 changed files with 5 additions and 2 deletions
|
@ -14,8 +14,11 @@ export const FestaMarkdownRenderer = memo(({ code }: FestaMarkdownRendererProps)
|
||||||
return (
|
return (
|
||||||
<ReactMarkdown
|
<ReactMarkdown
|
||||||
components={{
|
components={{
|
||||||
h1: "h3", // h1 is reserved for the site name
|
h1: "h2", // h1 is reserved for the page name
|
||||||
h2: "h3", // h2 is reserved for the page name
|
h2: "h3",
|
||||||
|
h3: "h4",
|
||||||
|
h4: "h5",
|
||||||
|
h5: "h6",
|
||||||
img: undefined, // images reveal the IP of the user to third parties!
|
img: undefined, // images reveal the IP of the user to third parties!
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue