mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00
added support for markdown-it-deflist (#240)
this makes it possible to use definition lists like ``` Term 1 : Definition 1 with lazy continuation. Term 2 with *inline markup* : Definition 2 { some code, part of Definition 2 } Third paragraph of definition 2. _Compact style:_ Term 1 ~ Definition 1 Term 2 ~ Definition 2a ~ Definition 2b ``` Co-authored-by: Philip Molares <philip@mauricedoepke.de>
This commit is contained in:
parent
1703818b91
commit
09c21e4334
4 changed files with 14 additions and 0 deletions
6
src/external-types/markdown-it-deflist/index.d.ts
vendored
Normal file
6
src/external-types/markdown-it-deflist/index.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
declare module 'markdown-it-deflist' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
const markdownItDefinitionList: MarkdownIt.PluginSimple
|
||||
export = markdownItDefinitionList
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue