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,49 +53,61 @@ const zero = {
export default {
zero: [zero],
commonmark: [zero, {
markdown: {
fence: true,
commonmark: [
zero,
{
markdown: {
fence: true,
},
},
}],
gfm: [zero, {
markdown: {
breaks: true,
del: true,
fence: true,
linkify: true,
table: true,
tasklist: true,
],
gfm: [
zero,
{
markdown: {
breaks: true,
del: true,
fence: 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,
},
}],
],
};