I seperate the sections using underscores
Example markdown #1: file content
_________________________________________________________________________________________
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
Example markdown #1: error message
_________________________________________________________________________________________
ERRLOG Error while parsing Markdown frontmatter.
This can happen if you use special characters in frontmatter values (try using double quotes around that value).
Can't process doc metadatas for doc at path "PATHWHICHDISCLOSESCOMPANYSENSITIVEDATA.md" in version "current"
Loading of version failed for version "current"
Unable to build website for locale "en".
YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 5, column 5:
date: {{ .Date }}
^
at generateError (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:167:10)
at throwError (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:173:9)
at readBlockMapping (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:1073:9)
at composeNode (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:1359:12)
at readDocument (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:1525:3)
at loadDocuments (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:1588:5)
at load (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:1614:19)
at Object.safeLoad (/docusaurus/MyWebsite/node_modules/js-yaml/lib/js-yaml/loader.js:1637:10)
at module.exports (/docusaurus/MyWebsite/node_modules/gray-matter/lib/parse.js:12:17)
at parseMatter (/docusaurus/MyWebsite/node_modules/gray-matter/index.js:109:17)
at Object.matter [as default] (/docusaurus/MyWebsite/node_modules/gray-matter/index.js:50:10)
at parseFrontMatter (/docusaurus/MyWebsite/node_modules/@docusaurus/utils/lib/markdownParser.js:69:52)
at Object.parseMarkdownString (/docusaurus/MyWebsite/node_modules/@docusaurus/utils/lib/markdownParser.js:114:69)
at doProcessDocMetadata (/docusaurus/MyWebsite/node_modules/@docusaurus/plugin-content-docs/lib/docs.js:64:80)
at Object.processDocMetadata (/docusaurus/MyWebsite/node_modules/@docusaurus/plugin-content-docs/lib/docs.js:177:16)
at processVersionDoc (/docusaurus/MyWebsite/node_modules/@docusaurus/plugin-content-docs/lib/index.js:88:35)
Example markdown #2: file content
_________________________________________________________________________________________
A command class must implement the `CancelableCommand` interface to trigger `validating` events.
* `preparing` - The preparing event is raised after successful validation and before `executing`. It can be used to
capture the state of effected entities before they are changed by command execution.
Example markdown #2: error message
_________________________________________________________________________________________
SyntaxError: /docusaurus/MyWebsite/PATHWHICHDISCLOSESCOMPANYSENSITIVEDATA.md: Expected corresponding JSX closing tag for
. (31:0)
29 |
30 | A command class must implement the `CancelableCommand` interface to trigger `validating` events.
> 31 |
| ^
32 |
\~START\~
]C0
Example\~01
\~STOP\~
, where...
Example markdown #5: error message
_________________________________________________________________________________________
Docusaurus Node/SSR could not render static page with path "/docs/PATHWHICHDISCLOSESCOMPANYSENSITIVEDATA" because of following error:
Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at a.b.renderDOM (main:133729:354)
at a.b.render (main:133724:399)
at a.b.read (main:133723:83)
at Object.exports.renderToString (main:133734:138)
at doRender (main:2089:356)
at async serverEntry_render (main:2088:294)
Unable to build website for locale "en".
Error: Failed to compile with errors.
at /docusaurus/MyWebsite/node_modules/@docusaurus/core/lib/webpack/utils.js:203:24
at /docusaurus/MyWebsite/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/docusaurus/MyWebsite/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)