remove pedantic markdown parsing
This commit is contained in:
parent
e54dee4220
commit
91590a2f25
@ -63,7 +63,7 @@ export const markdownToRemark = markdown => {
|
|||||||
* Parse the Markdown string input to an MDAST.
|
* Parse the Markdown string input to an MDAST.
|
||||||
*/
|
*/
|
||||||
const parsed = unified()
|
const parsed = unified()
|
||||||
.use(markdownToRemarkPlugin, { fences: true, pedantic: true, commonmark: true })
|
.use(markdownToRemarkPlugin, { fences: true, commonmark: true })
|
||||||
.parse(markdown);
|
.parse(markdown);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -102,7 +102,6 @@ export const remarkToMarkdown = obj => {
|
|||||||
const remarkToMarkdownPluginOpts = {
|
const remarkToMarkdownPluginOpts = {
|
||||||
commonmark: true,
|
commonmark: true,
|
||||||
fences: true,
|
fences: true,
|
||||||
pedantic: true,
|
|
||||||
listItemIndent: '1',
|
listItemIndent: '1',
|
||||||
|
|
||||||
// Settings to emulate the defaults from the Prosemirror editor, not
|
// Settings to emulate the defaults from the Prosemirror editor, not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user