Finish rewiring Markdown provider
This commit is contained in:
10
src/core/components/providers/markdown.jsx
Normal file
10
src/core/components/providers/markdown.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import Remarkable from "react-remarkable"
|
||||
import React from "react"
|
||||
|
||||
|
||||
export default function Markdown({ source }) {
|
||||
return <Remarkable
|
||||
options={{html: true, typographer: true, linkify: true, linkTarget: "_blank"}}
|
||||
source={source}
|
||||
></Remarkable>
|
||||
}
|
||||
Reference in New Issue
Block a user