Skip to content

Markdown2Pdf.Options.ModuleLocation

GitHub Action edited this page Apr 25, 2024 · 4 revisions

Enum ModuleLocation

Namespace: Markdown2Pdf.Options
Assembly: Markdown2Pdf.dll

Provides information from where to load modules.

public enum ModuleLocation

Fields

None = 0

Don't load any additional modules. With this only basic markdown features are enabled.

Remote = 1

Loads the node_modules over a CDN e.g. https://cdn.jsdelivr.net.

This option requires an internet connection.

Custom = 2

Loads the node_modules from the given (local) npm directory.

For this to work, following npm packages need to be installed:

npm i mathjax@3
npm i mermaid@10
npm i font-awesome
npm i @highlightjs/cdn-assets@11
npm i github-markdown-css
npm i latex.css

Clone this wiki locally