This reverts commit b1128d7649.
This commit is contained in:
@@ -8,7 +8,6 @@ import { sanitizer } from "core/components/providers/markdown"
|
|||||||
const parser = new Remarkable("commonmark")
|
const parser = new Remarkable("commonmark")
|
||||||
parser.block.ruler.enable(["table"])
|
parser.block.ruler.enable(["table"])
|
||||||
parser.set({ linkTarget: "_blank" })
|
parser.set({ linkTarget: "_blank" })
|
||||||
parser.set({ breaks: true })
|
|
||||||
|
|
||||||
export const Markdown = ({ source, className = "", getConfigs }) => {
|
export const Markdown = ({ source, className = "", getConfigs }) => {
|
||||||
if(typeof source !== "string") {
|
if(typeof source !== "string") {
|
||||||
|
|||||||
Reference in New Issue
Block a user