Module: lib/app

Classes

MarkdownUp

Type Definitions

MarkdownUpOptions

The MarkdownUp application options

Type:
  • Object
Properties:
Name Type Attributes Default Description
codeBlocks Object.<string, function()> <optional>
<nullable>
null

The code block render function map

darkMode boolean <optional>
<nullable>
false

If true, use dark mode by default

fontSize number <optional>
<nullable>
12

The font size, in points

globals Object <optional>
<nullable>
null

Global script runtime variables

helpURL string <optional>
<nullable>

The help URL

lineHeight number <optional>
<nullable>
1.2

The line height, in em

markdownText string <optional>
<nullable>
null

The default Markdown text

menu boolean <optional>
<nullable>
true

If true, show the menu

systemPrefix string <optional>
<nullable>

The markdown-script system include prefix

url string <optional>
<nullable>
'README.md'

The default resource URL

Source: