Skip to content

Commit

Permalink
fix(oas3): set markdown line breaks to true (#7942)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-lai committed Mar 24, 2022
1 parent 9250e20 commit b1128d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/plugins/oas3/wrap-components/markdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { sanitizer } from "core/components/providers/markdown"
const parser = new Remarkable("commonmark")
parser.block.ruler.enable(["table"])
parser.set({ linkTarget: "_blank" })
parser.set({ breaks: true })

export const Markdown = ({ source, className = "", getConfigs }) => {
if(typeof source !== "string") {
Expand Down

0 comments on commit b1128d7

Please sign in to comment.