UNPKG
gitbook-html
Version:
latest (1.3.3)
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
Parse HTML content for gitbook
www.gitbook.com
GitbookIO/gitbook-html
gitbook-html
/
lib
/
page.js
17 lines
(13 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var
Q =
require
(
'q'
);
var
_ =
require
(
'lodash'
);
/** Parse content of a page
@param
{
String
}
html
@return
{
Object
} */
function
parsePage
(
html
) {
return
{
content
: html }; }
module
.
exports
= parsePage;