feat$(abcjs): add extension preset

This commit is contained in:
Felix Wu 2018-08-01 20:14:36 +02:00
parent e4e9631b31
commit 489e9a5717

View File

@ -23,6 +23,14 @@ const zero = {
shortcuts: false, shortcuts: false,
}, },
/* /*
ABC Notation extension
Render abc-notation code blocks to music sheets
See https://abcjs.net/
*/
abc: {
enabled: false,
},
/*
Katex extension Katex extension
Render LaTeX mathematical expressions using: Render LaTeX mathematical expressions using:
$...$ for inline formulas $...$ for inline formulas
@ -45,49 +53,61 @@ const zero = {
export default { export default {
zero: [zero], zero: [zero],
commonmark: [zero, { commonmark: [
markdown: { zero,
fence: true, {
markdown: {
fence: true,
},
}, },
}], ],
gfm: [zero, { gfm: [
markdown: { zero,
breaks: true, {
del: true, markdown: {
fence: true, breaks: true,
linkify: true, del: true,
table: true, fence: true,
tasklist: true, linkify: true,
table: true,
tasklist: true,
},
emoji: {
enabled: true,
},
}, },
emoji: { ],
enabled: true, default: [
zero,
{
markdown: {
abbr: true,
breaks: true,
deflist: true,
del: true,
fence: true,
footnote: true,
imgsize: true,
linkify: true,
mark: true,
sub: true,
sup: true,
table: true,
tasklist: true,
typographer: true,
},
emoji: {
enabled: true,
},
katex: {
enabled: true,
},
mermaid: {
enabled: true,
},
abc: {
enabled: true,
},
}, },
}], ],
default: [zero, {
markdown: {
abbr: true,
breaks: true,
deflist: true,
del: true,
fence: true,
footnote: true,
imgsize: true,
linkify: true,
mark: true,
sub: true,
sup: true,
table: true,
tasklist: true,
typographer: true,
},
emoji: {
enabled: true,
},
katex: {
enabled: true,
},
mermaid: {
enabled: true,
},
}],
}; };