Module: lib/app

Classes

MarkdownUp

Type Definitions

MarkdownUpOptions

The MarkdownUp application options

Type:
  • Object
Properties:
Name Type Attributes Default Description
darkMode boolean <optional>
false

If true, use dark mode by default

fontSize number <optional>
12

The font size, in points

globals Object <optional>
<nullable>
null

Global script runtime variables

lineHeight number <optional>
1.2

The line height, in em

markdownText string <optional>
<nullable>
null

The default Markdown text

menu boolean <optional>
true

If true, show the menu

systemPrefix string <optional>

The markdown-script system include prefix

url string <optional>
'README.md'

The default resource URL

Source: