summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/lib/glossary.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-html/lib/glossary.js')
-rwxr-xr-xpackages/gitbook-html/lib/glossary.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/gitbook-html/lib/glossary.js b/packages/gitbook-html/lib/glossary.js
index 9d3799b..89ff135 100755
--- a/packages/gitbook-html/lib/glossary.js
+++ b/packages/gitbook-html/lib/glossary.js
@@ -23,17 +23,4 @@ function parseGlossary(html) {
return entries;
}
-// Glossary -> HTML
-function glossaryToText(glossary) {
- var bl = '\n';
-
- var body = _.map(glossary, function(entry) {
- return '<h2>' + entry.name + '</h2>' + bl + bl
- + '<p>' + entry.description + '</p>';
- }).join(bl+bl);
-
- return '<h1>Glossary</h1>'+bl+bl+body;
-}
-
module.exports = parseGlossary;
-module.exports.toText = glossaryToText;