diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-28 13:02:06 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-28 13:02:06 +0100 |
| commit | 597c18f84eb081d807a16bbacf8a6de46ac917d3 (patch) | |
| tree | 2f6eb85e009832bb2b6dce99648f9b5234f78b79 | |
| parent | 6b9aa0d1e370d2f982ed85882181e735fa4431d2 (diff) | |
Expose htmlPaths module
| -rw-r--r-- | lib/browser.js | 1 | ||||
| -rw-r--r-- | lib/index.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/browser.js b/lib/browser.js index 17341e6..a7f0039 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -5,6 +5,7 @@ var mammoth = require("./"); exports.fileInput = fileInput; exports.readFileInputOnChange = readFileInputOnChange; exports.standardOptions = mammoth.standardOptions; +exports.htmlPaths = mammoth.htmlPaths; exports.convertDocumentToHtml = function() { var args = Array.slice(arguments, 0, arguments.length - 1); diff --git a/lib/index.js b/lib/index.js index a4b687a..59cf927 100644 --- a/lib/index.js +++ b/lib/index.js @@ -5,6 +5,7 @@ var htmlPaths = require("./html-paths"); exports.Converter = Converter; exports.read = read; exports.convertDocumentToHtml = convertDocumentToHtml; +exports.htmlPaths = htmlPaths; exports.standardOptions = { paragraphStyleMap: { "Heading1": htmlPaths.topLevelElement("h1"), |
