Lib module
- Source
Methods
(async, static) renderer() → {object}
Renderer for marked. It overrides the default renderer to use custom tags for many elements.
- Source
Returns:
Renderer methods
- Type:
- object
(inner) paragraph(options) → {string}
Render a paragraph
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options | Object | Options object Properties
|
- Source
Returns:
HTML output
- Type:
- string
(inner) table(options) → {string}
Render a table
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options | Object | Options object Properties
|
- Source
Returns:
HTML output
- Type:
- string
Type Definitions
TEmojiExtension
Emoji extension for marked
Type:
Properties- object
| Name | Type | Description |
|---|---|---|
name | string | Extension name |
level | string | Extension level |
start | function | Function to find the first index of the emoji in the source string |
tokenizer | function | Function to tokenize the emoji |
renderer | function | Function to render the emoji |
- Source