summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/src/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-html/src/page.js')
-rwxr-xr-xpackages/gitbook-html/src/page.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gitbook-html/src/page.js b/packages/gitbook-html/src/page.js
new file mode 100755
index 0000000..c4982b5
--- /dev/null
+++ b/packages/gitbook-html/src/page.js
@@ -0,0 +1,12 @@
+/**
+ * Parse content of a page.
+ * @param {String} html
+ * @return {Object}
+ */
+function parsePage(html) {
+ return {
+ content: html
+ };
+}
+
+module.exports = parsePage;