summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/docs/USING_ADVANCED.md
diff options
context:
space:
mode:
authorMarc Hartmayer <hello@hartmayer.com>2020-06-03 23:04:14 +0200
committerMarc Hartmayer <hello@hartmayer.com>2020-06-03 23:10:25 +0200
commit399ddd2dabead11a0a0de903a6288f9abcffd603 (patch)
treeb5ad65d2317b44d2def571162ef70d4e7c3ef573 /packages/markdown/marked/docs/USING_ADVANCED.md
parent2876ce633c0b1a442992e9b5e3ec52639f947a52 (diff)
downloadwekan-399ddd2dabead11a0a0de903a6288f9abcffd603.tar.gz
wekan-399ddd2dabead11a0a0de903a6288f9abcffd603.tar.bz2
wekan-399ddd2dabead11a0a0de903a6288f9abcffd603.zip
Update `markedjs` package
Update `markedjs` to commit https://github.com/markedjs/marked/commit/7b3036f8c0440cfd003ce47dd6e1a92af0f5e822. This fixes the issue https://github.com/wekan/wekan/issues/3148.
Diffstat (limited to 'packages/markdown/marked/docs/USING_ADVANCED.md')
-rw-r--r--packages/markdown/marked/docs/USING_ADVANCED.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/markdown/marked/docs/USING_ADVANCED.md b/packages/markdown/marked/docs/USING_ADVANCED.md
index 81df205b..23224d16 100644
--- a/packages/markdown/marked/docs/USING_ADVANCED.md
+++ b/packages/markdown/marked/docs/USING_ADVANCED.md
@@ -43,7 +43,7 @@ console.log(marked(markdownString));
|Member |Type |Default |Since |Notes |
|:-----------|:---------|:--------|:--------|:-------------|
|baseUrl |`string` |`null` |0.3.9 |A prefix url for any relative link. |
-|breaks |`boolean` |`false` |v0.2.7 |If true, add `<br>` on a single line break (copies GitHub). Requires `gfm` be `true`.|
+|breaks |`boolean` |`false` |v0.2.7 |If true, add `<br>` on a single line break (copies GitHub behavior on comments, but not on rendered markdown files). Requires `gfm` be `true`.|
|gfm |`boolean` |`true` |v0.2.1 |If true, use approved [GitHub Flavored Markdown (GFM) specification](https://github.github.com/gfm/).|
|headerIds |`boolean` |`true` |v0.4.0 |If true, include an `id` attribute when emitting headings (h1, h2, h3, etc).|
|headerPrefix|`string` |`''` |v0.3.0 |A string to prefix the `id` attribute when emitting headings (h1, h2, h3, etc).|
@@ -57,6 +57,8 @@ console.log(marked(markdownString));
|silent |`boolean` |`false` |v0.2.7 |If true, the parser does not throw any exception.|
|smartLists |`boolean` |`false` |v0.2.8 |If true, use smarter list behavior than those found in `markdown.pl`.|
|smartypants |`boolean` |`false` |v0.2.9 |If true, use "smart" typographic punctuation for things like quotes and dashes.|
+|tokenizer |`object` |`new Tokenizer()`|v1.0.0|An object containing functions to create tokens from markdown. See [extensibility](/#/USING_PRO.md) for more details.|
+|walkTokens |`function` |`null`|v1.1.0|A function which is called for every token. See [extensibility](/#/USING_PRO.md) for more details.|
|xhtml |`boolean` |`false` |v0.3.2 |If true, emit self-closing HTML tags for void elements (&lt;br/&gt;, &lt;img/&gt;, etc.) with a "/" as required by XHTML.|
<h2 id="highlight">Asynchronous highlighting</h2>