improvement: support GFM table syntax in OpenAPI 3.0 (via #5224)

This commit is contained in:
Brian Johnson
2019-03-14 19:58:02 -05:00
committed by kyle
parent 1497271155
commit 65e8abde55

View File

@@ -6,7 +6,7 @@ import { OAS3ComponentWrapFactory } from "../helpers"
import { sanitizer } from "core/components/providers/markdown"
const parser = new Remarkable("commonmark")
parser.block.ruler.enable(["table"])
parser.set({ linkTarget: "_blank" })
export const Markdown = ({ source, className = "" }) => {