Added gfm preset
This commit is contained in:
parent
6a3434c889
commit
a09d06e961
@ -12,12 +12,14 @@
|
|||||||
#date: YYYY-MM-DD HH:MM:SS
|
#date: YYYY-MM-DD HH:MM:SS
|
||||||
|
|
||||||
## Extensions configuration
|
## Extensions configuration
|
||||||
## Preset can be `default`, `commonmark` or `zero`
|
## Preset can be `default`, `commonmark`, `gfm` or `zero`.
|
||||||
## Use preset `zero` to enable extensions manually.
|
## Use preset `zero` to manually switch on extensions.
|
||||||
|
|
||||||
extensions:
|
extensions:
|
||||||
preset: default
|
preset: default
|
||||||
|
|
||||||
## Markdown extensions
|
## Markdown extension
|
||||||
|
|
||||||
#markdown:
|
#markdown:
|
||||||
#abbr: true
|
#abbr: true
|
||||||
#breaks: true
|
#breaks: true
|
||||||
@ -32,12 +34,12 @@ extensions:
|
|||||||
#typographer: true
|
#typographer: true
|
||||||
|
|
||||||
## Emoji extension
|
## Emoji extension
|
||||||
|
|
||||||
#emoji:
|
#emoji:
|
||||||
## Support for emojis & emoticons
|
|
||||||
#enabled: true
|
#enabled: true
|
||||||
|
|
||||||
## Shortcuts like :) :-(
|
## Enable shortcuts like :) :-(
|
||||||
## Disabled in the default preset.
|
## These are disabled by default.
|
||||||
#shortcuts: false
|
#shortcuts: false
|
||||||
|
|
||||||
## Katex extension
|
## Katex extension
|
||||||
@ -45,13 +47,14 @@ extensions:
|
|||||||
## $...$ for inline formulas
|
## $...$ for inline formulas
|
||||||
## $$...$$ for displayed formulas.
|
## $$...$$ for displayed formulas.
|
||||||
## See https://math.meta.stackexchange.com/questions/5020
|
## See https://math.meta.stackexchange.com/questions/5020
|
||||||
|
|
||||||
#katex:
|
#katex:
|
||||||
#enabled: true
|
#enabled: true
|
||||||
|
|
||||||
## Mermaid extension
|
## Mermaid extension
|
||||||
## Convert code blocks starting with:
|
## Convert code blocks starting with ```mermaid
|
||||||
## ```mermaid
|
|
||||||
## into diagrams and flowcharts.
|
## into diagrams and flowcharts.
|
||||||
## See https://mermaidjs.github.io/
|
## See https://mermaidjs.github.io/
|
||||||
|
|
||||||
#mermaid:
|
#mermaid:
|
||||||
#enabled: true
|
#enabled: true
|
||||||
|
@ -31,6 +31,18 @@ export default {
|
|||||||
fence: true,
|
fence: true,
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
gfm: [zero, {
|
||||||
|
markdown: {
|
||||||
|
breaks: true,
|
||||||
|
del: true,
|
||||||
|
fence: true,
|
||||||
|
linkify: true,
|
||||||
|
table: true,
|
||||||
|
},
|
||||||
|
emoji: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
|
}],
|
||||||
default: [zero, {
|
default: [zero, {
|
||||||
markdown: {
|
markdown: {
|
||||||
abbr: true,
|
abbr: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user