Skip to content

Commit 20973b1

Browse files
committed
Adding partial/includes to markdown
1 parent 995d211 commit 20973b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/parser.js

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ module.exports = {
7272

7373
page = page.replace('</head>', attrTags + '\n</head>');
7474
page = page.replace('{content}', contentHTML);
75+
76+
// this will add the ability to include src partials in your markdown
77+
page = this.parseIncludeContent(page);
7578

7679
return page;
7780

0 commit comments

Comments
 (0)