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,12 +53,17 @@ const zero = {
export default { export default {
zero: [zero], zero: [zero],
commonmark: [zero, { commonmark: [
zero,
{
markdown: { markdown: {
fence: true, fence: true,
}, },
}], },
gfm: [zero, { ],
gfm: [
zero,
{
markdown: { markdown: {
breaks: true, breaks: true,
del: true, del: true,
@ -62,8 +75,11 @@ export default {
emoji: { emoji: {
enabled: true, enabled: true,
}, },
}], },
default: [zero, { ],
default: [
zero,
{
markdown: { markdown: {
abbr: true, abbr: true,
breaks: true, breaks: true,
@ -89,5 +105,9 @@ export default {
mermaid: { mermaid: {
enabled: true, enabled: true,
}, },
}], abc: {
enabled: true,
},
},
],
}; };