All methods are part of a namespace within Marked.
To access, for example, the status bar message,
you would use Marked.message.status('My message').
See the list below for the methods available
in each namespace.
- Source:
- app.js
Namespaces
- autoscroll
- bookmarks
- callouts
- collapsible
- config
- counter
- criticmarkup
- docProgress
- document
- find
- handlers
- highlightNav
- hooks
- inclusions
- main
- math
- message
- multicolumn
- position
- scrollSync
- scroller
- speedread
- spellcheck
- statusBar
- stream
- suggest
- syntax
- theme
- toc
- util
- wordRepetition
- zoom
Methods
-
<static> logger(msg [, lvl])
-
Legacy logging helper used by older modules.
Parameters:
Name Type Argument Default Description msg* Message payload to emit.
lvlnumber | string <optional>
0 Numeric or named log level.
- Source:
- logger.js
Returns:
True when logging was emitted.
- Type
- boolean