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,
},
/*
ABC Notation extension
Render abc-notation code blocks to music sheets
See https://abcjs.net/
*/
abc: {
enabled: false,
},
/*
Katex extension
Render LaTeX mathematical expressions using:
$...$ for inline formulas
@ -45,12 +53,17 @@ const zero = {
export default {
zero: [zero],
commonmark: [zero, {
commonmark: [
zero,
{
markdown: {
fence: true,
},
}],
gfm: [zero, {
},
],
gfm: [
zero,
{
markdown: {
breaks: true,
del: true,
@ -62,8 +75,11 @@ export default {
emoji: {
enabled: true,
},
}],
default: [zero, {
},
],
default: [
zero,
{
markdown: {
abbr: true,
breaks: true,
@ -89,5 +105,9 @@ export default {
mermaid: {
enabled: true,
},
}],
abc: {
enabled: true,
},
},
],
};