Expose parseMeta function

This commit is contained in:
Yukai Huang 2016-10-13 15:59:22 +08:00
parent f678d9b814
commit f4f2497d23
3 changed files with 4 additions and 1 deletions

View file

@ -1083,5 +1083,6 @@ module.exports = {
scrollToHash: scrollToHash,
owner: owner,
updateLastChangeUser: updateLastChangeUser,
updateOwner: updateOwner
updateOwner: updateOwner,
parseMeta: parseMeta
};

View file

@ -52,6 +52,7 @@ var scrollToHash = extra.scrollToHash;
var owner = extra.owner;
var updateLastChangeUser = extra.updateLastChangeUser;
var updateOwner = extra.updateOwner;
var parseMeta = extra.parseMeta;
var historyModule = require('./history');
var writeHistory = historyModule.writeHistory;

View file

@ -8,6 +8,7 @@ var generateToc = extra.generateToc;
var smoothHashScroll = extra.smoothHashScroll;
var postProcess = extra.postProcess;
var updateLastChange = extra.updateLastChange;
var parseMeta = extra.parseMeta;
var preventXSS = require('./render').preventXSS;
var markdown = $("#doc.markdown-body");