forked from tscanlin/processmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaultOptions.js
executable file
·43 lines (43 loc) · 1.88 KB
/
defaultOptions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
// The directory output will be processed to.
outputDir: './dist',
// Output location for the summary file (relative path to json file that has content from all files).
summaryOutput: null,
// Watch mode, recompile on file changes.
watch: false,
// Debounce timeout for watching files.
watchDebounce: 1000,
// Prefix for output filenames, default is no prefix, just the original filename.
filenamePrefix: '',
// For markdown files, rendering mathematical equations.
renderLatex: true,
// For markdown files, highlight code block.
highlightCode: true,
// For markdown files, how many characters should be included in an add `preview` property. 0 for no preview.
preview: 0,
// Include body props in summary file.
includeBodyProps: false,
// Include the markdown document title as `title` on the resulting json objects.
includeTitle: true,
// Include the directory as `dir` on the resulting json objects.
includeDir: true,
// Include the filename (.json) as `base` on the resulting json objects.
includeBase: true,
// Include the extension (.json) as `ext` on the resulting json objects.
includeExt: true,
// Include the source filename (.md / .yml) as `sourceBase` on the resulting json objects.
includeSourceBase: true,
// Include the source extension (.md / .yml) as `sourceExt` on the resulting json objects.
includeSourceExt: true,
// Convert mode. Possible options for this are 'json' or 'source'.
convertMode: 'json',
// Whether to output to stdout or not.
stdout: false,
// Custom markdown renderer function, null to use the default: `markdown-it`.
markdownRenderer: null,
// Options to pass to the default markdown processor, markdown-it.
// See here for options: https://github.com/markdown-it/markdown-it#init-with-presets-and-options
markdownOptions: {},
// Include generated ids on headings.
headingIds: false
}