improvement: support GFM table syntax in OpenAPI 3.0 (via #5224)
This commit is contained in:
@@ -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 = "" }) => {
|
||||
|
||||
Reference in New Issue
Block a user