summaryrefslogtreecommitdiffstats
path: root/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/parser.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/models/parser.js b/lib/models/parser.js
index d28a4e2..d64542f 100644
--- a/lib/models/parser.js
+++ b/lib/models/parser.js
@@ -55,6 +55,11 @@ Parser.prototype.parsePage = function(content) {
return Promise(page(content));
};
+Parser.prototype.parseInline = function(content) {
+ var inline = this.get('inline');
+ return Promise(inline(content));
+};
+
Parser.prototype.parseLanguages = function(content) {
var langs = this.get('langs');
return Promise(langs(content));