Namespace: main

Marked.main

Top level functions

Requires

Methods

init()

Main window initialization

Example
Marked.main.init()

prefsInit()

Initialize general preferences and associated body classes

Example
Marked.main.prefsInit();

update()

Trigger an update of preferences and config

Example
Marked.main.update();

updatePreview(obj)

Update preview window with encoded HTML string

Parameters:
Name Type Description
obj object

Object with {source, base, bodyClasses}