File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 58
58
CI : true
59
59
60
60
- name : Install mamba
61
- uses : mamba-org/provision-with-micromamba@v10
61
+ uses : mamba-org/provision-with-micromamba@v12
62
62
with :
63
63
environment-file : tests/environment.yml
64
64
Original file line number Diff line number Diff line change 28
28
"markdown-it" : " ^8.4.2" ,
29
29
"markdown-it-mathjax" : " ^2.0.0" ,
30
30
"markdown-it-task-lists" : " ^2.1.1" ,
31
+ "markdown-it-front-matter" : " ^0.2.3" ,
31
32
"markdown-it-textual-uml" : " ^0.1.3" ,
32
33
"mathjax" : " ^2.7.5" ,
33
34
"mathjax-node-page" : " ^3.0.2" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ const MarkdownIt = require('markdown-it'),
31
31
32
32
const mjpage = require ( 'mathjax-node-page' ) . mjpage ;
33
33
const taskLists = require ( 'markdown-it-task-lists' ) ;
34
-
34
+ const frontMatter = require ( 'markdown-it-front-matter' ) ;
35
+
35
36
if ( argv . version || argv . debug ) {
36
37
const version = require ( './version' ) ;
37
38
console . log ( `instant-markdown-d version: v${ version } ` ) ;
@@ -81,7 +82,7 @@ let md = new MarkdownIt({
81
82
return str ;
82
83
}
83
84
}
84
- } ) . use ( taskLists ) ;
85
+ } ) . use ( taskLists , { enabled : true } ) . use ( frontMatter , function ( fm ) { } ) ;
85
86
86
87
if ( argv . mathjax ) md . use ( require ( 'markdown-it-mathjax' ) ( ) ) ;
87
88
if ( argv . mermaid ) md . use ( require ( 'markdown-it-textual-uml' ) ) ;
You can’t perform that action at this time.
0 commit comments