File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ var q = require('q');
12
12
13
13
this . ignoreTag = ' !ignore' ;
14
14
this . headingTag = ' !heading' ;
15
- this . includePattern = / ^ # i n c l u d e \s " ( .+ \/ | \/ | \w | - | \/ ) + . m d " / gm;
16
- this . ignorePattern = new RegExp ( '^#include\\s"(.+\\/|\\/|\\w|-|\\/)+.md "' + this . ignoreTag , 'gm' ) ;
15
+ this . includePattern = / ^ # i n c l u d e \s " ( .+ \/ | \/ | \w | - | \/ ) + \. ( m d | m a r k d o w n ) " / gm;
16
+ this . ignorePattern = new RegExp ( '^#include\\s"(.+\\/|\\/|\\w|-|\\/)+\.(md|markdown) "' + this . ignoreTag , 'gm' ) ;
17
17
this . headingPattern = new RegExp ( '^#+\\s.+' + this . headingTag , 'gm' ) ;
18
18
this . tableOfContents = '' ;
19
19
this . build = { } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " markdown-include" ,
3
- "version" : " 0.4.2 " ,
3
+ "version" : " 0.4.3 " ,
4
4
"description" : " Include markdown files into other markdown files with C style syntax." ,
5
5
"main" : " markdown-include.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments