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');
1212
1313this . ignoreTag = ' !ignore' ;
1414this . 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' ) ;
1717this . headingPattern = new RegExp ( '^#+\\s.+' + this . headingTag , 'gm' ) ;
1818this . tableOfContents = '' ;
1919this . build = { } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " markdown-include" ,
3- "version" : " 0.4.2 " ,
3+ "version" : " 0.4.3 " ,
44 "description" : " Include markdown files into other markdown files with C style syntax." ,
55 "main" : " markdown-include.js" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments