The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.
markedjs/marked (marked)
### [`v4.0.10`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.10)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.9...v4.0.10)
##### Bug Fixes
- **security:** fix redos vulnerabilities ([8f80657](https://redirect.github.com/markedjs/marked/commit/8f806573a3f6c6b7a39b8cdb66ab5ebb8d55a5f5))
### [`v4.0.9`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.9)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.8...v4.0.9)
##### Bug Fixes
- retain line breaks in tokens properly ([#2341](https://redirect.github.com/markedjs/marked/issues/2341)) ([a9696e2](https://redirect.github.com/markedjs/marked/commit/a9696e28989c0bea2077885bab1844525e18a031))
### [`v4.0.8`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.8)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.7...v4.0.8)
##### Bug Fixes
- spaces on a newline after a table ([#2319](https://redirect.github.com/markedjs/marked/issues/2319)) ([f82ea2c](https://redirect.github.com/markedjs/marked/commit/f82ea2cf1be0a3ad3337bcafe1c4dd3182334bb9))
### [`v4.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.7)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.6...v4.0.7)
##### Bug Fixes
- Fix every third list item broken ([#2318](https://redirect.github.com/markedjs/marked/issues/2318)) ([346b162](https://redirect.github.com/markedjs/marked/commit/346b162bb787d3b7fb1d4879c859f64155c6ca3c)), closes [#2314](https://redirect.github.com/markedjs/marked/issues/2314)
### [`v4.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.6)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.5...v4.0.6)
##### Bug Fixes
- speed up parsing long lists ([#2302](https://redirect.github.com/markedjs/marked/issues/2302)) ([e0005d8](https://redirect.github.com/markedjs/marked/commit/e0005d8232a08827f5e99b8b35b09728b2b07503))
### [`v4.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.5)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.4...v4.0.5)
##### Bug Fixes
- table after paragraph without blank line ([#2298](https://redirect.github.com/markedjs/marked/issues/2298)) ([5714212](https://redirect.github.com/markedjs/marked/commit/5714212afd4a9ee0864fff70bad034f7c0842a3c))
### [`v4.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.4)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.3...v4.0.4)
##### Bug Fixes
- fix cli ([#2294](https://redirect.github.com/markedjs/marked/issues/2294)) ([ab2977a](https://redirect.github.com/markedjs/marked/commit/ab2977a3363230df51ccbb2b3f8bf46389c50283))
### [`v4.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.3)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.2...v4.0.3)
##### Bug Fixes
- build min from umd ([#2283](https://redirect.github.com/markedjs/marked/issues/2283)) ([ea26ea9](https://redirect.github.com/markedjs/marked/commit/ea26ea9bdf7aad4e4c645f85e8e816e80a2be6c2))
### [`v4.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.2)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.1...v4.0.2)
##### Bug Fixes
- Create separate CJS and UMD builds ([#2281](https://redirect.github.com/markedjs/marked/issues/2281)) ([62faaf4](https://redirect.github.com/markedjs/marked/commit/62faaf4c912151dfe361d0459d5e89a439c38fd4))
### [`v4.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.1)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.0...v4.0.1)
##### Bug Fixes
- Set commonJS code as `main` in `package.json` ([#2276](https://redirect.github.com/markedjs/marked/issues/2276)) ([7e636d5](https://redirect.github.com/markedjs/marked/commit/7e636d5a0b04b43f2b67a2abb2b8ae35a5122a42))
### [`v4.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.0)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.8...v4.0.0)
##### Bug Fixes
- Convert to ESM ([#2227](https://redirect.github.com/markedjs/marked/issues/2227)) ([4afb228](https://redirect.github.com/markedjs/marked/commit/4afb228d956a415624c4e5554bb8f25d047676fe))
##### BREAKING CHANGES
- Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
### [`v3.0.8`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.8)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.7...v3.0.8)
##### Bug Fixes
- walkTokens uses marked as this ([#2251](https://redirect.github.com/markedjs/marked/issues/2251)) ([2da5885](https://redirect.github.com/markedjs/marked/commit/2da588598992065d7bf54a740d2011f8326d46cd))
### [`v3.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.7)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.6...v3.0.7)
##### Bug Fixes
- use named exports only for ESM build ([#2226](https://redirect.github.com/markedjs/marked/pull/2226))
### [`v3.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.6)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.5...v3.0.6)
##### Bug Fixes
- Remove esm interop ([#2225](https://redirect.github.com/markedjs/marked/issues/2225)) ([4bc9121](https://redirect.github.com/markedjs/marked/commit/4bc91215a07df5644c581925a70beda95703f693))
### [`v3.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.5)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.4...v3.0.5)
##### Bug Fixes
- Expose named exports for ESM build ([#2223](https://redirect.github.com/markedjs/marked/issues/2223)) ([3959651](https://redirect.github.com/markedjs/marked/commit/39596513544112b628921efe95b8b3fb04ab38e7))
### [`v3.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.4)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.3...v3.0.4)
##### Bug Fixes
- fix detection of orphaned emStrong delimiters ([#2203](https://redirect.github.com/markedjs/marked/issues/2203)) ([7792adc](https://redirect.github.com/markedjs/marked/commit/7792adcfe694ea442c6a4e794ac161c27d4fc89a))
### [`v3.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.3)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.2...v3.0.3)
##### Bug Fixes
- fix space at end of table line ([#2201](https://redirect.github.com/markedjs/marked/issues/2201)) ([910f0f0](https://redirect.github.com/markedjs/marked/commit/910f0f035617f7e2dd7e4f7a08c3d01d73c7f453))
### [`v3.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.2)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.1...v3.0.2)
##### Bug Fixes
- stop table at lines with only whitespace ([#2188](https://redirect.github.com/markedjs/marked/issues/2188)) ([21268ab](https://redirect.github.com/markedjs/marked/commit/21268abfba4359772daa83adcaac8e053cba8657))
### [`v3.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.1)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.0...v3.0.1)
##### Bug Fixes
- fix gfm urls after link ([#2186](https://redirect.github.com/markedjs/marked/issues/2186)) ([e03b5c1](https://redirect.github.com/markedjs/marked/commit/e03b5c1f8d87b0875ff644d15f6ac16489c7a1cf))
### [`v3.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.0)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.3...v3.0.0)
##### Bug Fixes
- Tokenizers lex their own child tokens ([#2124](https://redirect.github.com/markedjs/marked/issues/2124)) ([288f1cb](https://redirect.github.com/markedjs/marked/commit/288f1cbe2f55881972c0f594ddb9910888986bee))
- Add module field to package.json ([#2143](https://redirect.github.com/markedjs/marked/issues/2143)) ([edc2e6d](https://redirect.github.com/markedjs/marked/commit/edc2e6dc129364b127c8a41dc6a83dd88daffba4))
- Drop node 10 support ([#2157](https://redirect.github.com/markedjs/marked/issues/2157)) ([433b16f](https://redirect.github.com/markedjs/marked/commit/433b16fa3ac8ddcaead519b7f4e284137f7fac03))
- Full Commonmark compliance for Lists ([#2112](https://redirect.github.com/markedjs/marked/issues/2112)) ([eb33d3b](https://redirect.github.com/markedjs/marked/commit/eb33d3b3a9f735ee9bee251d26bf779880dc3114))
- Refactor table tokens ([#2166](https://redirect.github.com/markedjs/marked/issues/2166)) ([bc400ac](https://redirect.github.com/markedjs/marked/commit/bc400ac789c76e915df82b0998d3fd12c89da2e8))
##### BREAKING CHANGES
- Drop support for node 10.
- Add module field to package.json
***
- Tokenizers will create their own tokens with `this.lexer.inline(text, tokens)`. The `inline` function will queue the token creation until after all block tokens are created.
- Extensions tokenizer `this` object will include the `lexer` as a property. `this.inlineTokens` becomes `this.lexer.inline`.
- Extensions renderer `this` object will include the `parser` as a property. `this.parseInline` becomes `this.parser.parseInline`.
- `tag` and `inlineText` tokenizer function signatures have changed.
***
- `nptable` tokenizer is removed and merged with `table` tokenizer.
- `table` tokens `header` property changed to contain an array of objects for each header cell with `text` and `tokens` properties.
- `table` tokens `cells` property changed to `rows` and is an array of rows where each row contains an array of objects for each cell with `text` and `tokens` properties.
v2 `table` token:
```json
{
"type": "table",
"align": [null, null],
"raw": "| a | b |\n|---|---|\n| 1 | 2 |\n",
"header": ["a", "b"],
"cells": [["1", "2"]],
"tokens": {
"header": [
[{ "type": "text", "raw": "a", "text": "a" }],
[{ "type": "text", "raw": "b", "text": "b" }]
],
"cells": [[
[{ "type": "text", "raw": "1", "text": "1" }],
[{ "type": "text", "raw": "2", "text": "2" }]
]]
}
}
```
v3 `table` token:
```json
{
"type": "table",
"align": [null, null],
"raw": "| a | b |\n|---|---|\n| 1 | 2 |\n",
"header": [
{
"text": "a",
"tokens": [{ "type": "text", "raw": "a", "text": "a" }]
},
{
"text": "b",
"tokens": [{ "type": "text", "raw": "b", "text": "b" }]
}
],
"rows": [
{
"text": "1",
"tokens": [{ "type": "text", "raw": "1", "text": "1" }]
},
{
"text": "2",
"tokens": [{ "type": "text", "raw": "2", "text": "2" }]
}
]
}
```
### [`v2.1.3`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.3)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.2...v2.1.3)
##### Bug Fixes
- update commonmark spec to v0.30 ([#2113](https://redirect.github.com/markedjs/marked/issues/2113)) ([62d6a0e](https://redirect.github.com/markedjs/marked/commit/62d6a0e3257f9e8a710300e71a09ab01263b4731))
### [`v2.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.2)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.1...v2.1.2)
##### Bug Fixes
- add Node.js 10 to CI and loosen `engines` field ([#2119](https://redirect.github.com/markedjs/marked/issues/2119)) ([8659353](https://redirect.github.com/markedjs/marked/commit/8659353bcb998e751a90306344acf7d69e26874c))
### [`v2.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.1)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.0...v2.1.1)
##### Bug Fixes
- fix node v12 ([#2109](https://redirect.github.com/markedjs/marked/issues/2109)) ([af14068](https://redirect.github.com/markedjs/marked/commit/af14068b99618242c9dee6147ea3432f7903322e))
### [`v2.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.0)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.7...v2.1.0)
##### Features
- Custom Tokenizer/Renderer extensions ([#2043](https://redirect.github.com/markedjs/marked/issues/2043)) ([5be9d6d](https://redirect.github.com/markedjs/marked/commit/5be9d6d70ea35be6398ee35958fb8ac955a89fbe))
### [`v2.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.7)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.6...v2.0.7)
##### Bug Fixes
- em strong ([#2075](https://redirect.github.com/markedjs/marked/issues/2075)) ([825a9f8](https://redirect.github.com/markedjs/marked/commit/825a9f82af05448d85618bbac6ade8fbf9df286b))
### [`v2.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.6)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.5...v2.0.6)
##### Bug Fixes
- fix autolink email after single space ([#2073](https://redirect.github.com/markedjs/marked/issues/2073)) ([6c9a899](https://redirect.github.com/markedjs/marked/commit/6c9a8999ddb8ca9c975120ac323cdad9a421db97))
### [`v2.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.5)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.4...v2.0.5)
##### Bug Fixes
- call walkTokens when calling marked with a callback([#2060](https://redirect.github.com/markedjs/marked/issues/2060)) ([1d97308](https://redirect.github.com/markedjs/marked/commit/1d973084abda13ee0143f2d3a1812733f0666488))
### [`v2.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.4)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.3...v2.0.4)
##### Bug Fixes
- Fix indented markdown in html ([#2052](https://redirect.github.com/markedjs/marked/issues/2052)) ([6435ac9](https://redirect.github.com/markedjs/marked/commit/6435ac98896212b4f117b024cccd4c7e186a8b21))
### [`v2.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.3)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.2...v2.0.3)
##### Bug Fixes
- actually add a `type` property to the `def` token ([#2002](https://redirect.github.com/markedjs/marked/issues/2002)) ([47e65cf](https://redirect.github.com/markedjs/marked/commit/47e65cfb63e8ea8acceb676f59d8d37d346ebcaf))
### [`v2.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.2)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.1...v2.0.2)
##### Bug Fixes
- add type property on def token ([#2001](https://redirect.github.com/markedjs/marked/issues/2001)) ([009427f](https://redirect.github.com/markedjs/marked/commit/009427f65dadd5dff9ec0189e008677aea9fbcfa))
### [`v2.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.1)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.0...v2.0.1)
##### Bug Fixes
- fix items between lists ([#1936](https://redirect.github.com/markedjs/marked/issues/1936)) ([46cdfc1](https://redirect.github.com/markedjs/marked/commit/46cdfc1ecec44660afc9040cb76de276a0ad7d5f))
### [`v2.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.0)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.9...v2.0.0)
##### Bug Fixes
- Join adjacent inlineText tokens ([#1926](https://redirect.github.com/markedjs/marked/issues/1926)) ([f848e77](https://redirect.github.com/markedjs/marked/commit/f848e7703956a6c37871432a7e128f51b1700aa0))
- Total rework of Emphasis/Strong ([#1864](https://redirect.github.com/markedjs/marked/issues/1864)) ([7293251](https://redirect.github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd))
##### BREAKING CHANGES
- `em` and `strong` tokenizers have been merged into one `emStrong` tokenizer.
- `code` and `text` tokenizers do not get passed all tokens as a second parameter.
- No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in `lib/marked.js` but some pollyfills may be needed for IE 11 in the future.
### [`v1.2.9`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.9)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.8...v1.2.9)
##### Bug Fixes
- allow sublist to be single space in pedantic ([#1924](https://redirect.github.com/markedjs/marked/issues/1924)) ([1e36afd](https://redirect.github.com/markedjs/marked/commit/1e36afde553c5ba521ea10ad19a008c57f402715))
### [`v1.2.8`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.8)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.7...v1.2.8)
##### Bug Fixes
- leave whitespace only lines alone ([#1889](https://redirect.github.com/markedjs/marked/issues/1889)) ([53c79ee](https://redirect.github.com/markedjs/marked/commit/53c79ee9196bfd06ad15aad8904a7a4d61e0f400))
### [`v1.2.7`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.7)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.6...v1.2.7)
##### Bug Fixes
- Replace use of startsWith and endsWith with regex for IE11 ([#1877](https://redirect.github.com/markedjs/marked/issues/1877)) ([4fdde20](https://redirect.github.com/markedjs/marked/commit/4fdde20b9e9aa93fa5a38aceb3f69666cb7fec80)), closes [#1876](https://redirect.github.com/markedjs/marked/issues/1876)
### [`v1.2.6`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.6)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.5...v1.2.6)
##### Bug Fixes
- fix atx heading and make regex safe ([#1853](https://redirect.github.com/markedjs/marked/issues/1853)) ([70ee29c](https://redirect.github.com/markedjs/marked/commit/70ee29c02b6812ecc185b8dbe6d3ff1b06e7ff4d))
**possible breaking change**: When using the block.heading rule the text provided in capture group 2 will not be trimmed of whitespace.
- fix link with angle brackets around href ([#1851](https://redirect.github.com/markedjs/marked/issues/1851)) ([656c3e4](https://redirect.github.com/markedjs/marked/commit/656c3e4aba6a00eb3664ff7e829878ed9222c339))
### [`v1.2.5`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.5)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.4...v1.2.5)
##### Bug Fixes
- fix em and strong starting with special char ([#1832](https://redirect.github.com/markedjs/marked/issues/1832)) ([f9bc93b](https://redirect.github.com/markedjs/marked/commit/f9bc93b2bbcbecd15bf8a838dc47fe38b9392f69))
- task lists not rendered when GFM is disabled ([#1825](https://redirect.github.com/markedjs/marked/issues/1825)) ([3942e89](https://redirect.github.com/markedjs/marked/commit/3942e894cf008873ffa222dacb6338aa40b5930a)), closes [#1823](https://redirect.github.com/markedjs/marked/issues/1823)
### [`v1.2.4`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.4)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.3...v1.2.4)
##### Bug Fixes
- no strikethrough on different number of tildes ([#1821](https://redirect.github.com/markedjs/marked/issues/1821)) ([d79f210](https://redirect.github.com/markedjs/marked/commit/d79f210aba670aab650b51f4ba0882e37949c330))
**Possible Breaking Change**: When using the inline.del rule the text is provided in capture group 2 instead of 1.
### [`v1.2.3`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.3)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.2...v1.2.3)
##### Bug Fixes
- list alignment ([#1810](https://redirect.github.com/markedjs/marked/issues/1810)) ([5f9cafd](https://redirect.github.com/markedjs/marked/commit/5f9cafd49c2a2af85cc5f7720ed4be94f04ce338))
### [`v1.2.2`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.2)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.1...v1.2.2)
##### Bug Fixes
- remove string.repeat for ie11 ([#1772](https://redirect.github.com/markedjs/marked/issues/1772)) ([2707070](https://redirect.github.com/markedjs/marked/commit/27070705d3b58d3d4c78a35b89e4532d2e64c37b))
### [`v1.2.1`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.1)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.0...v1.2.1)
re-release of v 1.1.2 since semantic release picked up the wrong version
### [`v1.2.0`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.0): 1.2.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.1.2...v1.2.0)
#### Features
- Add dry run capabilities to default slugger [#1728](https://redirect.github.com/markedjs/marked/issues/1728)
- Parse inline [#1761](https://redirect.github.com/markedjs/marked/issues/1761)
#### Fixes
- Fix html comments [#1739](https://redirect.github.com/markedjs/marked/issues/1739)
- Fix line break [#1746](https://redirect.github.com/markedjs/marked/issues/1746)
- Fix indented tables to follow gfm spec [#1748](https://redirect.github.com/markedjs/marked/issues/1748)
- Fix underscore adjacent to asterisk [#1755](https://redirect.github.com/markedjs/marked/issues/1755)
#### Dependencies
- Regenerate lock file [#1736](https://redirect.github.com/markedjs/marked/issues/1736)
#### Documentation
- Add api dingus for babelmark [#1742](https://redirect.github.com/markedjs/marked/issues/1742)
- Update docs to use static build step and clean URLs via Vercel [#1749](https://redirect.github.com/markedjs/marked/issues/1749)
### [`v1.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v1.1.2)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.1.1...v1.1.2)
##### Bug Fixes
- fix indented code in list item ([#1762](https://redirect.github.com/markedjs/marked/issues/1762)) ([6355ac2](https://redirect.github.com/markedjs/marked/commit/6355ac2d6fb7b8c00697e30f93135df351cf7089))
### [`v1.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v1.1.1): 1.1.1
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.1.0...v1.1.1)
#### Fixes
- Fix image links with escaped brackets [#1683](https://redirect.github.com/markedjs/marked/issues/1683)
- Fix async highlight not async [#1685](https://redirect.github.com/markedjs/marked/issues/1685)
- Fix ordered lists that use `)` delimiter [#1704](https://redirect.github.com/markedjs/marked/issues/1704)
- Pass many more Em and Strong tests [#1686](https://redirect.github.com/markedjs/marked/issues/1686) (Thanks [@calculuschild](https://redirect.github.com/calculuschild))
#### Docs
- Add favicon [#1710](https://redirect.github.com/markedjs/marked/issues/1710)
- Decode hash [#1712](https://redirect.github.com/markedjs/marked/issues/1712)
- Clarify level of support for Markdown flavors [#1720](https://redirect.github.com/markedjs/marked/issues/1720)
- Fix quick ref [#1729](https://redirect.github.com/markedjs/marked/issues/1729)
#### Scripts
- Add `npm run rules` [#1726](https://redirect.github.com/markedjs/marked/issues/1726)
### [`v1.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v1.1.0): 1.1.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.0.0...v1.1.0)
#### Features
- Add `walkTokens` option [#1664](https://redirect.github.com/markedjs/marked/issues/1664)
#### Fixes
- Fix `renderer.code` includes space at beginning of each line of code [#1645](https://redirect.github.com/markedjs/marked/issues/1645)
- Fix codespan newline [#1652](https://redirect.github.com/markedjs/marked/issues/1652)
- Fix comma after underscore emphasis [#1660](https://redirect.github.com/markedjs/marked/issues/1660)
- Fix loose task list with no tokens [#1674](https://redirect.github.com/markedjs/marked/issues/1674)
- Add `browser` field in `package.json` pointing to es5 output [#1661](https://redirect.github.com/markedjs/marked/issues/1661)
- Add newline to rendered code with language [#1670](https://redirect.github.com/markedjs/marked/issues/1670)
- Fix async highlighter walking all tokens [#1664](https://redirect.github.com/markedjs/marked/issues/1664)
#### Docs
- Add `tokenizer` to option docs [#1662](https://redirect.github.com/markedjs/marked/issues/1662)
### [`v1.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v1.0.0): 1.0.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.8.2...v1.0.0)
#### Breaking changes
- Add inline tokens to `marked.lexer` output [#1627](https://redirect.github.com/markedjs/marked/issues/1627)
- Treat escape token same way as plain text tokens [#1642](https://redirect.github.com/markedjs/marked/issues/1642)
- Add `Tokenizer` to allow extending token creation [#1637](https://redirect.github.com/markedjs/marked/issues/1637)
#### Features
- Add `marked.use()` method to extend options [#1646](https://redirect.github.com/markedjs/marked/issues/1646)
#### Fixes
- Fix intra-word emphasis can match the wrong asterisks [#1636](https://redirect.github.com/markedjs/marked/issues/1636)
- Fix italics modifier (`_`) breaks links containing underscores [#1641](https://redirect.github.com/markedjs/marked/issues/1641)
- Fix closing delimited \* incorrect for consecutive ocurrences [#1644](https://redirect.github.com/markedjs/marked/issues/1644)
#### Docs
- Fix lexer data token in demo [#1638](https://redirect.github.com/markedjs/marked/issues/1638)
#### CI
- Move to GitHub Actions [#1635](https://redirect.github.com/markedjs/marked/issues/1635)
- Update devDependencies [#1648](https://redirect.github.com/markedjs/marked/issues/1648)
### [`v0.8.2`](https://redirect.github.com/markedjs/marked/releases/tag/v0.8.2): 0.8.2
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.8.1...v0.8.2)
#### Fixes
- Add html to TextRenderer for html in headings [#1622](https://redirect.github.com/markedjs/marked/issues/1622)
- Remove html tags in heading ids [#1622](https://redirect.github.com/markedjs/marked/issues/1622)
#### Docs
- Update comment about GitHub breaks [#1620](https://redirect.github.com/markedjs/marked/issues/1620)
### [`v0.8.1`](https://redirect.github.com/markedjs/marked/releases/tag/v0.8.1): 0.8.1
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.8.0...v0.8.1)
#### Fixes
- Fix `marked --help` [#1588](https://redirect.github.com/markedjs/marked/issues/1588)
- Fix GFM Example 116 code fences [#1600](https://redirect.github.com/markedjs/marked/issues/1600)
- Send inline html to renderer [#1602](https://redirect.github.com/markedjs/marked/issues/1602) (fixes [#1601](https://redirect.github.com/markedjs/marked/issues/1601))
- Improve docs example for invoking highlight.js [#1603](https://redirect.github.com/markedjs/marked/issues/1603)
- Fix block-level elements breaking tables [#1598](https://redirect.github.com/markedjs/marked/issues/1598) (fixes [#1467](https://redirect.github.com/markedjs/marked/issues/1467))
- break nptables on block-level structures [#1617](https://redirect.github.com/markedjs/marked/issues/1617)
### [`v0.8.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.8.0): 0.8.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.7.0...v0.8.0)
#### Breaking changes
- Remove substitutions [#1532](https://redirect.github.com/markedjs/marked/issues/1532)
- Separate source into modules [#1563](https://redirect.github.com/markedjs/marked/issues/1563) [#1572](https://redirect.github.com/markedjs/marked/issues/1572) [#1573](https://redirect.github.com/markedjs/marked/issues/1573) [#1575](https://redirect.github.com/markedjs/marked/issues/1575) [#1576](https://redirect.github.com/markedjs/marked/issues/1576) [#1581](https://redirect.github.com/markedjs/marked/issues/1581)
#### Fixes
- Fix relative urls in `baseUrl` option [#1526](https://redirect.github.com/markedjs/marked/issues/1526)
- Loose task list [#1535](https://redirect.github.com/markedjs/marked/issues/1535)
- Fix image parentheses [#1557](https://redirect.github.com/markedjs/marked/issues/1557)
- remove module field & update devDependencies [#1581](https://redirect.github.com/markedjs/marked/issues/1581)
#### Docs
- Update examples with es6+ [#1521](https://redirect.github.com/markedjs/marked/issues/1521)
- Fix link to USING_PRO.md page [#1552](https://redirect.github.com/markedjs/marked/issues/1552)
- Fix typo in USING_ADVANCED.md [#1558](https://redirect.github.com/markedjs/marked/issues/1558)
- Node worker threads are stable [#1555](https://redirect.github.com/markedjs/marked/issues/1555)
#### Dev Dependencies
- Update deps [#1516](https://redirect.github.com/markedjs/marked/issues/1516)
- Update eslint [#1542](https://redirect.github.com/markedjs/marked/issues/1542)
- Update htmldiffer async matcher [#1543](https://redirect.github.com/markedjs/marked/issues/1543)
### [`v0.7.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.7.0): 0.7.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.3...v0.7.0)
#### Security
- Sanitize `paragraph` and `text` tokens [#1504](https://redirect.github.com/markedjs/marked/issues/1504)
- Fix ReDOS for links with backticks (issue [#1493](https://redirect.github.com/markedjs/marked/issues/1493)) [#1515](https://redirect.github.com/markedjs/marked/issues/1515)
#### Breaking Changes
- Deprecate `sanitize` and `sanitizer` options [#1504](https://redirect.github.com/markedjs/marked/issues/1504)
- Move `fences` to CommonMark [#1511](https://redirect.github.com/markedjs/marked/issues/1511)
- Move `tables` to GFM [#1511](https://redirect.github.com/markedjs/marked/issues/1511)
- Remove `tables` option [#1511](https://redirect.github.com/markedjs/marked/issues/1511)
- Single backtick in link text needs to be escaped [#1515](https://redirect.github.com/markedjs/marked/issues/1515)
#### Fixes
- Fix parentheses around a link [#1509](https://redirect.github.com/markedjs/marked/issues/1509)
- Fix headings (issue [#1510](https://redirect.github.com/markedjs/marked/issues/1510)) [#1511](https://redirect.github.com/markedjs/marked/issues/1511)
#### Tests
- Run tests with correct options [#1511](https://redirect.github.com/markedjs/marked/issues/1511)
### [`v0.6.3`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.3): 0.6.3
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.2...v0.6.3)
#### Fixes
- Fix nested blockquotes [#1464](https://redirect.github.com/markedjs/marked/issues/1464)
- Fix `` issue with mixed content [#1451](https://redirect.github.com/markedjs/marked/issues/1451)
- revert [#1464](https://redirect.github.com/markedjs/marked/issues/1464) [#1497](https://redirect.github.com/markedjs/marked/issues/1497)
- Fix `breaks: true` [#1507](https://redirect.github.com/markedjs/marked/issues/1507)
#### Docs
- add docs for workers [#1432](https://redirect.github.com/markedjs/marked/issues/1432)
- Add security policy [#1492](https://redirect.github.com/markedjs/marked/issues/1492)
- Update supported spec versions [#1491](https://redirect.github.com/markedjs/marked/issues/1491)
- Update test folder descriptions [#1506](https://redirect.github.com/markedjs/marked/issues/1506)
#### DevOps
- Use latest commit for demo master [#1457](https://redirect.github.com/markedjs/marked/issues/1457)
- Update tests to commonmark 0.29 [#1465](https://redirect.github.com/markedjs/marked/issues/1465)
- Update tests to GFM 0.29 [#1470](https://redirect.github.com/markedjs/marked/issues/1470)
- Fix commonmark spec 57 and 40 (headings) [#1475](https://redirect.github.com/markedjs/marked/issues/1475)
### [`v0.6.2`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.2): 0.6.2
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.1...v0.6.2)
#### Security
- Link redos [#1426](https://redirect.github.com/markedjs/marked/issues/1426)
- Text redos [#1460](https://redirect.github.com/markedjs/marked/issues/1460)
#### Fixes
- Links parens [#1435](https://redirect.github.com/markedjs/marked/issues/1435)
- New line after table with escaped pipe [#1439](https://redirect.github.com/markedjs/marked/issues/1439)
- List item tables [#1446](https://redirect.github.com/markedjs/marked/issues/1446)
#### Enhancements
- Pass token boolean to the `listitem` function [#1440](https://redirect.github.com/markedjs/marked/issues/1440)
- Allow html without \n after [#1438](https://redirect.github.com/markedjs/marked/issues/1438)
#### CLI
- Update man page to include `--test` and fix argv parameters [#1442](https://redirect.github.com/markedjs/marked/issues/1442)
- Add a `--version` flag to print marked version [#1448](https://redirect.github.com/markedjs/marked/issues/1448)
#### Testing
- Normalize marked tests [#1444](https://redirect.github.com/markedjs/marked/issues/1444)
- Update tests to node 4 syntax [#1449](https://redirect.github.com/markedjs/marked/issues/1449)
### [`v0.6.1`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.1): 0.6.1
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.0...v0.6.1)
#### Fixes
- Fix parenthesis url redos [#1414](https://redirect.github.com/markedjs/marked/issues/1414)
#### Docs
- Update demo site to use a worker [#1418](https://redirect.github.com/markedjs/marked/issues/1418)
- Update devDependencies to last stable [#1409](https://redirect.github.com/markedjs/marked/issues/1409)
- Update documentation about extending Renderer [#1417](https://redirect.github.com/markedjs/marked/issues/1417)
- Remove `--save` option as it isn't required anymore [#1422](https://redirect.github.com/markedjs/marked/issues/1422)
- Add snyk badge [#1420](https://redirect.github.com/markedjs/marked/issues/1420)
### [`v0.6.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.0): 0.6.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.5.2...v0.6.0)
#### Breaking Changes
- Drop support for Node v0.10 and old browsers such as Internet Explorer
- You should not have any problems if using Node 4+ or a modern browser
- Add parameter `slugger` to `Renderer.prototype.heading` method [#1401](https://redirect.github.com/markedjs/marked/issues/1401)
- You should not have any problems if you do not override this method
#### New Features
- Add new export `marked.Slugger` [#1401](https://redirect.github.com/markedjs/marked/issues/1401)
#### Fixes
- Fix emphasis followed by a punctuation [#1383](https://redirect.github.com/markedjs/marked/issues/1383)
- Fix bold around autolink email address [#1385](https://redirect.github.com/markedjs/marked/issues/1385)
- Make autolinks case insensitive [#1384](https://redirect.github.com/markedjs/marked/issues/1384)
- Make code fences compliant with Commonmark spec [#1387](https://redirect.github.com/markedjs/marked/issues/1387)
- Make blockquote paragraph continuation compliant with Commonmark spec [#1394](https://redirect.github.com/markedjs/marked/issues/1394)
- Make ordered list marker length compliant with Commonmark spec [#1391](https://redirect.github.com/markedjs/marked/issues/1391)
- Make empty list items compliant with Commonmark spec [#1395](https://redirect.github.com/markedjs/marked/issues/1395)
- Make tag escaping compliant with Commonmark spec [#1397](https://redirect.github.com/markedjs/marked/issues/1397)
- Make strong/bold compliant with Commonmark spec [#1400](https://redirect.github.com/markedjs/marked/issues/1400)
- Fix handling of adjacent lists [#684](https://redirect.github.com/markedjs/marked/issues/684)
- Add better error handling when token type cannot be found [#1005](https://redirect.github.com/markedjs/marked/issues/1005)
- Fix duplicate heading id and non-latin characters [#1401](https://redirect.github.com/markedjs/marked/issues/1401)
#### CLI
- Pretty print ENOENT errors on cli [#1396](https://redirect.github.com/markedjs/marked/issues/1396)
- Update repo url in man [#1403](https://redirect.github.com/markedjs/marked/issues/1403)
#### Docs
- Fix `breaks` option description [#1381](https://redirect.github.com/markedjs/marked/issues/1381)
- Update docs to include "Since" version [#1382](https://redirect.github.com/markedjs/marked/issues/1382)
- Add defibrillator badge for [@mccraveiro](https://redirect.github.com/mccraveiro) [#1392](https://redirect.github.com/markedjs/marked/issues/1392)
#### Tests
- Remove old test covered by gfm/cm [#1389](https://redirect.github.com/markedjs/marked/issues/1389)
### [`v0.5.2`](https://redirect.github.com/markedjs/marked/releases/tag/v0.5.2): 0.5.2
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.5.1...v0.5.2)
#### Bug Fixes
- Fix emphasis closing by single \_ (part of left-flanking run) [#1351](https://redirect.github.com/markedjs/marked/issues/1351)
- Make URL handling consistent between links and images [#1359](https://redirect.github.com/markedjs/marked/issues/1359)
#### Other
- Add missing semicolons, add lint rule [#1340](https://redirect.github.com/markedjs/marked/issues/1340)
- Make Steven ([@styfle](https://redirect.github.com/styfle)) a npm publisher [#1346](https://redirect.github.com/markedjs/marked/issues/1346)
- Fix typo in docs: re*s*ponsibility [#1364](https://redirect.github.com/markedjs/marked/issues/1364)
- Add the ability to specify options on the [demo page](https://marked.js.org/demo/) as JSON [#1357](https://redirect.github.com/markedjs/marked/issues/1357)
- Show red border when JSON options are invalid [#1360](https://redirect.github.com/markedjs/marked/issues/1360)
- Move license file back to root dir [#1356](https://redirect.github.com/markedjs/marked/issues/1356)
- Fix builds: remove node v0.10 from travis matrix [#1366](https://redirect.github.com/markedjs/marked/issues/1366)
- This does not a break compatibility in this release but it will a future release
- Add `files` key to package.json to prevent publishing unused files [#1367](https://redirect.github.com/markedjs/marked/issues/1367)
### [`v0.5.1`](https://redirect.github.com/markedjs/marked/releases/tag/v0.5.1): 0.5.1
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.5.0...v0.5.1)
#### Security
- Fix inline code regex and prevent REDOS [#1337](https://redirect.github.com/markedjs/marked/issues/1337)
- Use `@markedjs/html-differ` to prevent REDOS [#1331](https://redirect.github.com/markedjs/marked/issues/1331)
#### Bug Fixes
- Fix typographic substitution in (pre|code|kbd|script) blocks when smartypants=true [#1335](https://redirect.github.com/markedjs/marked/issues/1335)
- Fix auto-linking email address [#1338](https://redirect.github.com/markedjs/marked/issues/1338)
#### Other
- Refactor the `escape()` function to improve performance 10-20% [#975](https://redirect.github.com/markedjs/marked/issues/975)
- Update copyright in source code [#1326](https://redirect.github.com/markedjs/marked/issues/1326)
- Update benchmark tests [#1019](https://redirect.github.com/markedjs/marked/issues/1019)
- Add dependency badges to readme [#1333](https://redirect.github.com/markedjs/marked/issues/1333)
### [`v0.5.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.5.0): 0.5.0
[Compare Source](https://redirect.github.com/markedjs/marked/compare/0.4.0...v0.5.0)
#### Security
- Use rtrim, not unsafe /X+$/ [#1260](https://redirect.github.com/markedjs/marked/issues/1260)
#### Breaking Changes
- Fix GFM empty table cells [#1262](https://redirect.github.com/markedjs/marked/issues/1262)
- Fix GFM extended auto-linking requiring multiple backpedals [#1293](https://redirect.github.com/markedjs/marked/issues/1293)
- Fix GFM strikethrough compatibility [#1258](https://redirect.github.com/markedjs/marked/issues/1258)
- Fix issues link references and prototypes [#1299](https://redirect.github.com/markedjs/marked/issues/1299)
- Fix hard line break when backslash at EOL [#1303](https://redirect.github.com/markedjs/marked/issues/1303)
- Fix hyperlinks with parenthesis [#1305](https://redirect.github.com/markedjs/marked/issues/1305)
- Fix loose lists [#1304](https://redirect.github.com/markedjs/marked/issues/1304)
- Fix strong and em [#1315](https://redirect.github.com/markedjs/marked/issues/1315)
#### Docs
- Fix typo in USING_ADVANCED.md [#1276](https://redirect.github.com/markedjs/marked/issues/1276)
- Add pictures to AUTHORS.md [#1272](https://redirect.github.com/markedjs/marked/issues/1272)
- Change badge to latest version of marked [#1300](https://redirect.github.com/markedjs/marked/issues/1300)
- Change badges from shields.io to badgen.net [#1317](https://redirect.github.com/markedjs/marked/issues/1317)
- Use iframe to sandbox generated html [#1295](https://redirect.github.com/markedjs/marked/issues/1295)
- Add additional links into readme [#1310](https://redirect.github.com/markedjs/marked/issues/1310)
- Add missing parameters for renderer methods [#1311](https://redirect.github.com/markedjs/marked/issues/1311)
- Add undocumented option descriptions [#1312](https://redirect.github.com/markedjs/marked/issues/1312)
- Add navigation sidebar to the docs [#1316](https://redirect.github.com/markedjs/marked/issues/1316)
#### CI
- Change travis clone depth to 3 [#1270](https://redirect.github.com/markedjs/marked/issues/1270)
### [`v0.4.0`](https://redirect.github.com/markedjs/marked/releases/tag/0.4.0)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.19...0.4.0)
#### Security Fixes
- Fix unsafe `heading` regex ([#1224](https://redirect.github.com/markedjs/marked/issues/1224))
- Fix unsafe `link` regex ([#1223](https://redirect.github.com/markedjs/marked/issues/1223), [#1227](https://redirect.github.com/markedjs/marked/issues/1227))
#### New Features
- Add [option](https://marked.js.org/#/USING_ADVANCED.md) to disable heading ids ([#1190](https://redirect.github.com/markedjs/marked/issues/1190))
- Add support for [GFM Task Lists](https://github.github.com/gfm/#task-list-items-extension-) to comply with the GFM spec ([#1250](https://redirect.github.com/markedjs/marked/issues/1250))
#### Breaking Changes
- Fix escaping pipes in tables ([#1239](https://redirect.github.com/markedjs/marked/issues/1239))
- Fix html output for tables to match GFM spec ([#1245](https://redirect.github.com/markedjs/marked/issues/1245))
- Fix many bugs to reach parity with CommonMark spec ([#1135](https://redirect.github.com/markedjs/marked/issues/1135))
- Fix new Renderer() so it uses default options ([#1203](https://redirect.github.com/markedjs/marked/issues/1203))
- Fix text and paragraph return types ([#1248](https://redirect.github.com/markedjs/marked/issues/1248)) ([#1249](https://redirect.github.com/markedjs/marked/issues/1249))
- Fix `` less than 3 chars ([#1181](https://redirect.github.com/markedjs/marked/issues/1181))
- Fix `
` code blocks so there is no more trailing `\n` ([#1266](https://redirect.github.com/markedjs/marked/issues/1266))
- Fix default langPrefix to follow CommonMark standard `language-` ([#1265](https://redirect.github.com/markedjs/marked/issues/1265))
#### CLI Changes
- Add string argument to CLI ([#1182](https://redirect.github.com/markedjs/marked/issues/1182))
- Change CLI stdio to remove warning ([#994](https://redirect.github.com/markedjs/marked/issues/994))
#### Other changes
- Lint all the things ([#1185](https://redirect.github.com/markedjs/marked/issues/1185))
- Improved testing and DevOps ([#1160](https://redirect.github.com/markedjs/marked/issues/1160), [#1210](https://redirect.github.com/markedjs/marked/issues/1210), [#1220](https://redirect.github.com/markedjs/marked/issues/1220), [#1228](https://redirect.github.com/markedjs/marked/issues/1228), [#1219](https://redirect.github.com/markedjs/marked/issues/1219), [#1256](https://redirect.github.com/markedjs/marked/issues/1256))
- Update documentation and demos ([#1196](https://redirect.github.com/markedjs/marked/issues/1196), [#1197](https://redirect.github.com/markedjs/marked/issues/1197), [#1204](https://redirect.github.com/markedjs/marked/issues/1204), [#1207](https://redirect.github.com/markedjs/marked/issues/1207), [#1221](https://redirect.github.com/markedjs/marked/issues/1221), [#1233](https://redirect.github.com/markedjs/marked/issues/1233), [#1217](https://redirect.github.com/markedjs/marked/issues/1217), [#1240](https://redirect.github.com/markedjs/marked/issues/1240), [#1244](https://redirect.github.com/markedjs/marked/issues/1244), [#1253](https://redirect.github.com/markedjs/marked/issues/1253))
### [`v0.3.19`](https://redirect.github.com/markedjs/marked/releases/tag/v0.3.19): 0.3.18 minified required new release
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.18...v0.3.19)
0.3.18 did not have changes to min.
### [`v0.3.18`](https://redirect.github.com/markedjs/marked/releases/tag/v0.3.18): Minor fixes and updated docs
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.17...v0.3.18)
- Supported Markdown flavors: CommonMark 0.28 and GitHub Flavored Markdown 0.28
- Updates to our CI pipeline; we're all green! [#1098](https://redirect.github.com/markedjs/marked/issues/1098) with the caveat that there is a test that needs to get sorted (help us out [#1092](https://redirect.github.com/markedjs/marked/issues/1092))
- Start ordered lists using the initial numbers from markdown lists ([#1144](https://redirect.github.com/markedjs/marked/issues/1144))
- Added GitHub Pages site for documentation https://marked.js.org/ ([#1138](https://redirect.github.com/markedjs/marked/issues/1138))
### [`v0.3.17`](https://redirect.github.com/markedjs/marked/releases/tag/v0.3.17): Processes and tools
[Compare Source](https://redirect.github.com/markedjs/marked/compare/5f765201af4aa021d7adaf5c68b550325b2818db...v0.3.17)
- The elephant in the room: A security vulnerability was discovered and fixed. Please note, if something breaks due to these changes, it was not our intent, and please let us know by submitting a PR or issue to course correct (the nature of the zero-major release and having security as a number one priority) [#1083](https://redirect.github.com/markedjs/marked/issues/1083)
- The other elephant in the room: We missed publishing a 0.3.16 release to GitHub; so, trying to make up for that a bit.
- Updates to the project documentation and operations, you should check it out, just start with the README and you should be good.
- New release PR template available [#1076](https://redirect.github.com/markedjs/marked/issues/1076)
- Updates to default PR and Issue templates [#1076](https://redirect.github.com/markedjs/marked/issues/1076)
- Lint checks + tests + continuous integration using Travis [#1020](https://redirect.github.com/markedjs/marked/issues/1020)
- Updated testing output [#1085](https://redirect.github.com/markedjs/marked/issues/1085) & [#1087](https://redirect.github.com/markedjs/marked/issues/1087)
### [`v0.3.16`](https://redirect.github.com/markedjs/marked/compare/0.3.15...5f765201af4aa021d7adaf5c68b550325b2818db)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/0.3.15...5f765201af4aa021d7adaf5c68b550325b2818db)
### [`v0.3.15`](https://redirect.github.com/markedjs/marked/releases/tag/0.3.15): Fix capturing parens
[Compare Source](https://redirect.github.com/markedjs/marked/compare/0.3.14...0.3.15)
Fixes unintended breaking change from v0.3.14
### [`v0.3.14`](https://redirect.github.com/markedjs/marked/releases/tag/0.3.14): New year, new home
[Compare Source](https://redirect.github.com/markedjs/marked/compare/343b623eac763b8e0f21ddc6a9d661854fdf7971...0.3.14)
- Marked has a new home under the MarkedJS org! Other advances soon to come.
- Updated minifier.
- Various parser fixes
### [`v0.3.13`](https://redirect.github.com/markedjs/marked/compare/v0.3.12...343b623eac763b8e0f21ddc6a9d661854fdf7971)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.12...343b623eac763b8e0f21ddc6a9d661854fdf7971)
### [`v0.3.12`](https://redirect.github.com/markedjs/marked/releases/tag/v0.3.12): New Year, new Marked!
[Compare Source](https://redirect.github.com/markedjs/marked/compare/0.3.9...v0.3.12)
- Addresses issue where some users might not have been able to update due to missing `use strict` [#991](https://redirect.github.com/markedjs/marked/issues/991)
- Parser fix [#977](https://redirect.github.com/markedjs/marked/issues/977)
- New way to perform tests with options and running individual tests [#1002](https://redirect.github.com/markedjs/marked/issues/1002)
- Improved test cases
- Improved links
### [`v0.3.9`](https://redirect.github.com/markedjs/marked/releases/tag/0.3.9): Merry XSSmas
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.7...0.3.9)
We think with this version we have addressed most, if not all, known security vulnerabilities. If you find more, please let us know.
### [`v0.3.7`](https://redirect.github.com/markedjs/marked/releases/tag/v0.3.7): XSS
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.6...v0.3.7)
Should fix XSS issue discovered.
### [`v0.3.6`](https://redirect.github.com/markedjs/marked/compare/v0.3.5...v0.3.6)
[Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.5...v0.3.6)
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.3.5
->4.0.10
By merging this PR, the issue #57 will be automatically resolved and closed:
Release Notes
markedjs/marked (marked)
### [`v4.0.10`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.10) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.9...v4.0.10) ##### Bug Fixes - **security:** fix redos vulnerabilities ([8f80657](https://redirect.github.com/markedjs/marked/commit/8f806573a3f6c6b7a39b8cdb66ab5ebb8d55a5f5)) ### [`v4.0.9`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.9) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.8...v4.0.9) ##### Bug Fixes - retain line breaks in tokens properly ([#2341](https://redirect.github.com/markedjs/marked/issues/2341)) ([a9696e2](https://redirect.github.com/markedjs/marked/commit/a9696e28989c0bea2077885bab1844525e18a031)) ### [`v4.0.8`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.8) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.7...v4.0.8) ##### Bug Fixes - spaces on a newline after a table ([#2319](https://redirect.github.com/markedjs/marked/issues/2319)) ([f82ea2c](https://redirect.github.com/markedjs/marked/commit/f82ea2cf1be0a3ad3337bcafe1c4dd3182334bb9)) ### [`v4.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.7) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.6...v4.0.7) ##### Bug Fixes - Fix every third list item broken ([#2318](https://redirect.github.com/markedjs/marked/issues/2318)) ([346b162](https://redirect.github.com/markedjs/marked/commit/346b162bb787d3b7fb1d4879c859f64155c6ca3c)), closes [#2314](https://redirect.github.com/markedjs/marked/issues/2314) ### [`v4.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.6) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.5...v4.0.6) ##### Bug Fixes - speed up parsing long lists ([#2302](https://redirect.github.com/markedjs/marked/issues/2302)) ([e0005d8](https://redirect.github.com/markedjs/marked/commit/e0005d8232a08827f5e99b8b35b09728b2b07503)) ### [`v4.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.5) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.4...v4.0.5) ##### Bug Fixes - table after paragraph without blank line ([#2298](https://redirect.github.com/markedjs/marked/issues/2298)) ([5714212](https://redirect.github.com/markedjs/marked/commit/5714212afd4a9ee0864fff70bad034f7c0842a3c)) ### [`v4.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.4) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.3...v4.0.4) ##### Bug Fixes - fix cli ([#2294](https://redirect.github.com/markedjs/marked/issues/2294)) ([ab2977a](https://redirect.github.com/markedjs/marked/commit/ab2977a3363230df51ccbb2b3f8bf46389c50283)) ### [`v4.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.2...v4.0.3) ##### Bug Fixes - build min from umd ([#2283](https://redirect.github.com/markedjs/marked/issues/2283)) ([ea26ea9](https://redirect.github.com/markedjs/marked/commit/ea26ea9bdf7aad4e4c645f85e8e816e80a2be6c2)) ### [`v4.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.1...v4.0.2) ##### Bug Fixes - Create separate CJS and UMD builds ([#2281](https://redirect.github.com/markedjs/marked/issues/2281)) ([62faaf4](https://redirect.github.com/markedjs/marked/commit/62faaf4c912151dfe361d0459d5e89a439c38fd4)) ### [`v4.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v4.0.0...v4.0.1) ##### Bug Fixes - Set commonJS code as `main` in `package.json` ([#2276](https://redirect.github.com/markedjs/marked/issues/2276)) ([7e636d5](https://redirect.github.com/markedjs/marked/commit/7e636d5a0b04b43f2b67a2abb2b8ae35a5122a42)) ### [`v4.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v4.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.8...v4.0.0) ##### Bug Fixes - Convert to ESM ([#2227](https://redirect.github.com/markedjs/marked/issues/2227)) ([4afb228](https://redirect.github.com/markedjs/marked/commit/4afb228d956a415624c4e5554bb8f25d047676fe)) ##### BREAKING CHANGES - Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead. - `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead. - When using marked in a script tag use `marked.parse(...)` instead of `marked(...)` ### [`v3.0.8`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.8) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.7...v3.0.8) ##### Bug Fixes - walkTokens uses marked as this ([#2251](https://redirect.github.com/markedjs/marked/issues/2251)) ([2da5885](https://redirect.github.com/markedjs/marked/commit/2da588598992065d7bf54a740d2011f8326d46cd)) ### [`v3.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.7) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.6...v3.0.7) ##### Bug Fixes - use named exports only for ESM build ([#2226](https://redirect.github.com/markedjs/marked/pull/2226)) ### [`v3.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.6) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.5...v3.0.6) ##### Bug Fixes - Remove esm interop ([#2225](https://redirect.github.com/markedjs/marked/issues/2225)) ([4bc9121](https://redirect.github.com/markedjs/marked/commit/4bc91215a07df5644c581925a70beda95703f693)) ### [`v3.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.5) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.4...v3.0.5) ##### Bug Fixes - Expose named exports for ESM build ([#2223](https://redirect.github.com/markedjs/marked/issues/2223)) ([3959651](https://redirect.github.com/markedjs/marked/commit/39596513544112b628921efe95b8b3fb04ab38e7)) ### [`v3.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.4) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.3...v3.0.4) ##### Bug Fixes - fix detection of orphaned emStrong delimiters ([#2203](https://redirect.github.com/markedjs/marked/issues/2203)) ([7792adc](https://redirect.github.com/markedjs/marked/commit/7792adcfe694ea442c6a4e794ac161c27d4fc89a)) ### [`v3.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.2...v3.0.3) ##### Bug Fixes - fix space at end of table line ([#2201](https://redirect.github.com/markedjs/marked/issues/2201)) ([910f0f0](https://redirect.github.com/markedjs/marked/commit/910f0f035617f7e2dd7e4f7a08c3d01d73c7f453)) ### [`v3.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.1...v3.0.2) ##### Bug Fixes - stop table at lines with only whitespace ([#2188](https://redirect.github.com/markedjs/marked/issues/2188)) ([21268ab](https://redirect.github.com/markedjs/marked/commit/21268abfba4359772daa83adcaac8e053cba8657)) ### [`v3.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v3.0.0...v3.0.1) ##### Bug Fixes - fix gfm urls after link ([#2186](https://redirect.github.com/markedjs/marked/issues/2186)) ([e03b5c1](https://redirect.github.com/markedjs/marked/commit/e03b5c1f8d87b0875ff644d15f6ac16489c7a1cf)) ### [`v3.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.3...v3.0.0) ##### Bug Fixes - Tokenizers lex their own child tokens ([#2124](https://redirect.github.com/markedjs/marked/issues/2124)) ([288f1cb](https://redirect.github.com/markedjs/marked/commit/288f1cbe2f55881972c0f594ddb9910888986bee)) - Add module field to package.json ([#2143](https://redirect.github.com/markedjs/marked/issues/2143)) ([edc2e6d](https://redirect.github.com/markedjs/marked/commit/edc2e6dc129364b127c8a41dc6a83dd88daffba4)) - Drop node 10 support ([#2157](https://redirect.github.com/markedjs/marked/issues/2157)) ([433b16f](https://redirect.github.com/markedjs/marked/commit/433b16fa3ac8ddcaead519b7f4e284137f7fac03)) - Full Commonmark compliance for Lists ([#2112](https://redirect.github.com/markedjs/marked/issues/2112)) ([eb33d3b](https://redirect.github.com/markedjs/marked/commit/eb33d3b3a9f735ee9bee251d26bf779880dc3114)) - Refactor table tokens ([#2166](https://redirect.github.com/markedjs/marked/issues/2166)) ([bc400ac](https://redirect.github.com/markedjs/marked/commit/bc400ac789c76e915df82b0998d3fd12c89da2e8)) ##### BREAKING CHANGES - Drop support for node 10. - Add module field to package.json *** - Tokenizers will create their own tokens with `this.lexer.inline(text, tokens)`. The `inline` function will queue the token creation until after all block tokens are created. - Extensions tokenizer `this` object will include the `lexer` as a property. `this.inlineTokens` becomes `this.lexer.inline`. - Extensions renderer `this` object will include the `parser` as a property. `this.parseInline` becomes `this.parser.parseInline`. - `tag` and `inlineText` tokenizer function signatures have changed. *** - `nptable` tokenizer is removed and merged with `table` tokenizer. - `table` tokens `header` property changed to contain an array of objects for each header cell with `text` and `tokens` properties. - `table` tokens `cells` property changed to `rows` and is an array of rows where each row contains an array of objects for each cell with `text` and `tokens` properties. v2 `table` token: ```json { "type": "table", "align": [null, null], "raw": "| a | b |\n|---|---|\n| 1 | 2 |\n", "header": ["a", "b"], "cells": [["1", "2"]], "tokens": { "header": [ [{ "type": "text", "raw": "a", "text": "a" }], [{ "type": "text", "raw": "b", "text": "b" }] ], "cells": [[ [{ "type": "text", "raw": "1", "text": "1" }], [{ "type": "text", "raw": "2", "text": "2" }] ]] } } ``` v3 `table` token: ```json { "type": "table", "align": [null, null], "raw": "| a | b |\n|---|---|\n| 1 | 2 |\n", "header": [ { "text": "a", "tokens": [{ "type": "text", "raw": "a", "text": "a" }] }, { "text": "b", "tokens": [{ "type": "text", "raw": "b", "text": "b" }] } ], "rows": [ { "text": "1", "tokens": [{ "type": "text", "raw": "1", "text": "1" }] }, { "text": "2", "tokens": [{ "type": "text", "raw": "2", "text": "2" }] } ] } ``` ### [`v2.1.3`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.2...v2.1.3) ##### Bug Fixes - update commonmark spec to v0.30 ([#2113](https://redirect.github.com/markedjs/marked/issues/2113)) ([62d6a0e](https://redirect.github.com/markedjs/marked/commit/62d6a0e3257f9e8a710300e71a09ab01263b4731)) ### [`v2.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.1...v2.1.2) ##### Bug Fixes - add Node.js 10 to CI and loosen `engines` field ([#2119](https://redirect.github.com/markedjs/marked/issues/2119)) ([8659353](https://redirect.github.com/markedjs/marked/commit/8659353bcb998e751a90306344acf7d69e26874c)) ### [`v2.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.1.0...v2.1.1) ##### Bug Fixes - fix node v12 ([#2109](https://redirect.github.com/markedjs/marked/issues/2109)) ([af14068](https://redirect.github.com/markedjs/marked/commit/af14068b99618242c9dee6147ea3432f7903322e)) ### [`v2.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v2.1.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.7...v2.1.0) ##### Features - Custom Tokenizer/Renderer extensions ([#2043](https://redirect.github.com/markedjs/marked/issues/2043)) ([5be9d6d](https://redirect.github.com/markedjs/marked/commit/5be9d6d70ea35be6398ee35958fb8ac955a89fbe)) ### [`v2.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.7) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.6...v2.0.7) ##### Bug Fixes - em strong ([#2075](https://redirect.github.com/markedjs/marked/issues/2075)) ([825a9f8](https://redirect.github.com/markedjs/marked/commit/825a9f82af05448d85618bbac6ade8fbf9df286b)) ### [`v2.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.6) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.5...v2.0.6) ##### Bug Fixes - fix autolink email after single space ([#2073](https://redirect.github.com/markedjs/marked/issues/2073)) ([6c9a899](https://redirect.github.com/markedjs/marked/commit/6c9a8999ddb8ca9c975120ac323cdad9a421db97)) ### [`v2.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.5) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.4...v2.0.5) ##### Bug Fixes - call walkTokens when calling marked with a callback([#2060](https://redirect.github.com/markedjs/marked/issues/2060)) ([1d97308](https://redirect.github.com/markedjs/marked/commit/1d973084abda13ee0143f2d3a1812733f0666488)) ### [`v2.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.4) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.3...v2.0.4) ##### Bug Fixes - Fix indented markdown in html ([#2052](https://redirect.github.com/markedjs/marked/issues/2052)) ([6435ac9](https://redirect.github.com/markedjs/marked/commit/6435ac98896212b4f117b024cccd4c7e186a8b21)) ### [`v2.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.2...v2.0.3) ##### Bug Fixes - actually add a `type` property to the `def` token ([#2002](https://redirect.github.com/markedjs/marked/issues/2002)) ([47e65cf](https://redirect.github.com/markedjs/marked/commit/47e65cfb63e8ea8acceb676f59d8d37d346ebcaf)) ### [`v2.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.1...v2.0.2) ##### Bug Fixes - add type property on def token ([#2001](https://redirect.github.com/markedjs/marked/issues/2001)) ([009427f](https://redirect.github.com/markedjs/marked/commit/009427f65dadd5dff9ec0189e008677aea9fbcfa)) ### [`v2.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v2.0.0...v2.0.1) ##### Bug Fixes - fix items between lists ([#1936](https://redirect.github.com/markedjs/marked/issues/1936)) ([46cdfc1](https://redirect.github.com/markedjs/marked/commit/46cdfc1ecec44660afc9040cb76de276a0ad7d5f)) ### [`v2.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.9...v2.0.0) ##### Bug Fixes - Join adjacent inlineText tokens ([#1926](https://redirect.github.com/markedjs/marked/issues/1926)) ([f848e77](https://redirect.github.com/markedjs/marked/commit/f848e7703956a6c37871432a7e128f51b1700aa0)) - Total rework of Emphasis/Strong ([#1864](https://redirect.github.com/markedjs/marked/issues/1864)) ([7293251](https://redirect.github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd)) ##### BREAKING CHANGES - `em` and `strong` tokenizers have been merged into one `emStrong` tokenizer. - `code` and `text` tokenizers do not get passed all tokens as a second parameter. - No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in `lib/marked.js` but some pollyfills may be needed for IE 11 in the future. ### [`v1.2.9`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.9) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.8...v1.2.9) ##### Bug Fixes - allow sublist to be single space in pedantic ([#1924](https://redirect.github.com/markedjs/marked/issues/1924)) ([1e36afd](https://redirect.github.com/markedjs/marked/commit/1e36afde553c5ba521ea10ad19a008c57f402715)) ### [`v1.2.8`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.8) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.7...v1.2.8) ##### Bug Fixes - leave whitespace only lines alone ([#1889](https://redirect.github.com/markedjs/marked/issues/1889)) ([53c79ee](https://redirect.github.com/markedjs/marked/commit/53c79ee9196bfd06ad15aad8904a7a4d61e0f400)) ### [`v1.2.7`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.7) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.6...v1.2.7) ##### Bug Fixes - Replace use of startsWith and endsWith with regex for IE11 ([#1877](https://redirect.github.com/markedjs/marked/issues/1877)) ([4fdde20](https://redirect.github.com/markedjs/marked/commit/4fdde20b9e9aa93fa5a38aceb3f69666cb7fec80)), closes [#1876](https://redirect.github.com/markedjs/marked/issues/1876) ### [`v1.2.6`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.6) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.5...v1.2.6) ##### Bug Fixes - fix atx heading and make regex safe ([#1853](https://redirect.github.com/markedjs/marked/issues/1853)) ([70ee29c](https://redirect.github.com/markedjs/marked/commit/70ee29c02b6812ecc185b8dbe6d3ff1b06e7ff4d)) **possible breaking change**: When using the block.heading rule the text provided in capture group 2 will not be trimmed of whitespace. - fix link with angle brackets around href ([#1851](https://redirect.github.com/markedjs/marked/issues/1851)) ([656c3e4](https://redirect.github.com/markedjs/marked/commit/656c3e4aba6a00eb3664ff7e829878ed9222c339)) ### [`v1.2.5`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.5) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.4...v1.2.5) ##### Bug Fixes - fix em and strong starting with special char ([#1832](https://redirect.github.com/markedjs/marked/issues/1832)) ([f9bc93b](https://redirect.github.com/markedjs/marked/commit/f9bc93b2bbcbecd15bf8a838dc47fe38b9392f69)) - task lists not rendered when GFM is disabled ([#1825](https://redirect.github.com/markedjs/marked/issues/1825)) ([3942e89](https://redirect.github.com/markedjs/marked/commit/3942e894cf008873ffa222dacb6338aa40b5930a)), closes [#1823](https://redirect.github.com/markedjs/marked/issues/1823) ### [`v1.2.4`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.4) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.3...v1.2.4) ##### Bug Fixes - no strikethrough on different number of tildes ([#1821](https://redirect.github.com/markedjs/marked/issues/1821)) ([d79f210](https://redirect.github.com/markedjs/marked/commit/d79f210aba670aab650b51f4ba0882e37949c330)) **Possible Breaking Change**: When using the inline.del rule the text is provided in capture group 2 instead of 1. ### [`v1.2.3`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.3) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.2...v1.2.3) ##### Bug Fixes - list alignment ([#1810](https://redirect.github.com/markedjs/marked/issues/1810)) ([5f9cafd](https://redirect.github.com/markedjs/marked/commit/5f9cafd49c2a2af85cc5f7720ed4be94f04ce338)) ### [`v1.2.2`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.1...v1.2.2) ##### Bug Fixes - remove string.repeat for ie11 ([#1772](https://redirect.github.com/markedjs/marked/issues/1772)) ([2707070](https://redirect.github.com/markedjs/marked/commit/27070705d3b58d3d4c78a35b89e4532d2e64c37b)) ### [`v1.2.1`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.1) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.2.0...v1.2.1) re-release of v 1.1.2 since semantic release picked up the wrong version ### [`v1.2.0`](https://redirect.github.com/markedjs/marked/releases/tag/v1.2.0): 1.2.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.1.2...v1.2.0) #### Features - Add dry run capabilities to default slugger [#1728](https://redirect.github.com/markedjs/marked/issues/1728) - Parse inline [#1761](https://redirect.github.com/markedjs/marked/issues/1761) #### Fixes - Fix html comments [#1739](https://redirect.github.com/markedjs/marked/issues/1739) - Fix line break [#1746](https://redirect.github.com/markedjs/marked/issues/1746) - Fix indented tables to follow gfm spec [#1748](https://redirect.github.com/markedjs/marked/issues/1748) - Fix underscore adjacent to asterisk [#1755](https://redirect.github.com/markedjs/marked/issues/1755) #### Dependencies - Regenerate lock file [#1736](https://redirect.github.com/markedjs/marked/issues/1736) #### Documentation - Add api dingus for babelmark [#1742](https://redirect.github.com/markedjs/marked/issues/1742) - Update docs to use static build step and clean URLs via Vercel [#1749](https://redirect.github.com/markedjs/marked/issues/1749) ### [`v1.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v1.1.2) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.1.1...v1.1.2) ##### Bug Fixes - fix indented code in list item ([#1762](https://redirect.github.com/markedjs/marked/issues/1762)) ([6355ac2](https://redirect.github.com/markedjs/marked/commit/6355ac2d6fb7b8c00697e30f93135df351cf7089)) ### [`v1.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v1.1.1): 1.1.1 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.1.0...v1.1.1) #### Fixes - Fix image links with escaped brackets [#1683](https://redirect.github.com/markedjs/marked/issues/1683) - Fix async highlight not async [#1685](https://redirect.github.com/markedjs/marked/issues/1685) - Fix ordered lists that use `)` delimiter [#1704](https://redirect.github.com/markedjs/marked/issues/1704) - Pass many more Em and Strong tests [#1686](https://redirect.github.com/markedjs/marked/issues/1686) (Thanks [@calculuschild](https://redirect.github.com/calculuschild)) #### Docs - Add favicon [#1710](https://redirect.github.com/markedjs/marked/issues/1710) - Decode hash [#1712](https://redirect.github.com/markedjs/marked/issues/1712) - Clarify level of support for Markdown flavors [#1720](https://redirect.github.com/markedjs/marked/issues/1720) - Fix quick ref [#1729](https://redirect.github.com/markedjs/marked/issues/1729) #### Scripts - Add `npm run rules` [#1726](https://redirect.github.com/markedjs/marked/issues/1726) ### [`v1.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v1.1.0): 1.1.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v1.0.0...v1.1.0) #### Features - Add `walkTokens` option [#1664](https://redirect.github.com/markedjs/marked/issues/1664) #### Fixes - Fix `renderer.code` includes space at beginning of each line of code [#1645](https://redirect.github.com/markedjs/marked/issues/1645) - Fix codespan newline [#1652](https://redirect.github.com/markedjs/marked/issues/1652) - Fix comma after underscore emphasis [#1660](https://redirect.github.com/markedjs/marked/issues/1660) - Fix loose task list with no tokens [#1674](https://redirect.github.com/markedjs/marked/issues/1674) - Add `browser` field in `package.json` pointing to es5 output [#1661](https://redirect.github.com/markedjs/marked/issues/1661) - Add newline to rendered code with language [#1670](https://redirect.github.com/markedjs/marked/issues/1670) - Fix async highlighter walking all tokens [#1664](https://redirect.github.com/markedjs/marked/issues/1664) #### Docs - Add `tokenizer` to option docs [#1662](https://redirect.github.com/markedjs/marked/issues/1662) ### [`v1.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v1.0.0): 1.0.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.8.2...v1.0.0) #### Breaking changes - Add inline tokens to `marked.lexer` output [#1627](https://redirect.github.com/markedjs/marked/issues/1627) - Treat escape token same way as plain text tokens [#1642](https://redirect.github.com/markedjs/marked/issues/1642) - Add `Tokenizer` to allow extending token creation [#1637](https://redirect.github.com/markedjs/marked/issues/1637) #### Features - Add `marked.use()` method to extend options [#1646](https://redirect.github.com/markedjs/marked/issues/1646) #### Fixes - Fix intra-word emphasis can match the wrong asterisks [#1636](https://redirect.github.com/markedjs/marked/issues/1636) - Fix italics modifier (`_`) breaks links containing underscores [#1641](https://redirect.github.com/markedjs/marked/issues/1641) - Fix closing delimited \* incorrect for consecutive ocurrences [#1644](https://redirect.github.com/markedjs/marked/issues/1644) #### Docs - Fix lexer data token in demo [#1638](https://redirect.github.com/markedjs/marked/issues/1638) #### CI - Move to GitHub Actions [#1635](https://redirect.github.com/markedjs/marked/issues/1635) - Update devDependencies [#1648](https://redirect.github.com/markedjs/marked/issues/1648) ### [`v0.8.2`](https://redirect.github.com/markedjs/marked/releases/tag/v0.8.2): 0.8.2 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.8.1...v0.8.2) #### Fixes - Add html to TextRenderer for html in headings [#1622](https://redirect.github.com/markedjs/marked/issues/1622) - Remove html tags in heading ids [#1622](https://redirect.github.com/markedjs/marked/issues/1622) #### Docs - Update comment about GitHub breaks [#1620](https://redirect.github.com/markedjs/marked/issues/1620) ### [`v0.8.1`](https://redirect.github.com/markedjs/marked/releases/tag/v0.8.1): 0.8.1 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.8.0...v0.8.1) #### Fixes - Fix `marked --help` [#1588](https://redirect.github.com/markedjs/marked/issues/1588) - Fix GFM Example 116 code fences [#1600](https://redirect.github.com/markedjs/marked/issues/1600) - Send inline html to renderer [#1602](https://redirect.github.com/markedjs/marked/issues/1602) (fixes [#1601](https://redirect.github.com/markedjs/marked/issues/1601)) - Improve docs example for invoking highlight.js [#1603](https://redirect.github.com/markedjs/marked/issues/1603) - Fix block-level elements breaking tables [#1598](https://redirect.github.com/markedjs/marked/issues/1598) (fixes [#1467](https://redirect.github.com/markedjs/marked/issues/1467)) - break nptables on block-level structures [#1617](https://redirect.github.com/markedjs/marked/issues/1617) ### [`v0.8.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.8.0): 0.8.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.7.0...v0.8.0) #### Breaking changes - Remove substitutions [#1532](https://redirect.github.com/markedjs/marked/issues/1532) - Separate source into modules [#1563](https://redirect.github.com/markedjs/marked/issues/1563) [#1572](https://redirect.github.com/markedjs/marked/issues/1572) [#1573](https://redirect.github.com/markedjs/marked/issues/1573) [#1575](https://redirect.github.com/markedjs/marked/issues/1575) [#1576](https://redirect.github.com/markedjs/marked/issues/1576) [#1581](https://redirect.github.com/markedjs/marked/issues/1581) #### Fixes - Fix relative urls in `baseUrl` option [#1526](https://redirect.github.com/markedjs/marked/issues/1526) - Loose task list [#1535](https://redirect.github.com/markedjs/marked/issues/1535) - Fix image parentheses [#1557](https://redirect.github.com/markedjs/marked/issues/1557) - remove module field & update devDependencies [#1581](https://redirect.github.com/markedjs/marked/issues/1581) #### Docs - Update examples with es6+ [#1521](https://redirect.github.com/markedjs/marked/issues/1521) - Fix link to USING_PRO.md page [#1552](https://redirect.github.com/markedjs/marked/issues/1552) - Fix typo in USING_ADVANCED.md [#1558](https://redirect.github.com/markedjs/marked/issues/1558) - Node worker threads are stable [#1555](https://redirect.github.com/markedjs/marked/issues/1555) #### Dev Dependencies - Update deps [#1516](https://redirect.github.com/markedjs/marked/issues/1516) - Update eslint [#1542](https://redirect.github.com/markedjs/marked/issues/1542) - Update htmldiffer async matcher [#1543](https://redirect.github.com/markedjs/marked/issues/1543) ### [`v0.7.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.7.0): 0.7.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.3...v0.7.0) #### Security - Sanitize `paragraph` and `text` tokens [#1504](https://redirect.github.com/markedjs/marked/issues/1504) - Fix ReDOS for links with backticks (issue [#1493](https://redirect.github.com/markedjs/marked/issues/1493)) [#1515](https://redirect.github.com/markedjs/marked/issues/1515) #### Breaking Changes - Deprecate `sanitize` and `sanitizer` options [#1504](https://redirect.github.com/markedjs/marked/issues/1504) - Move `fences` to CommonMark [#1511](https://redirect.github.com/markedjs/marked/issues/1511) - Move `tables` to GFM [#1511](https://redirect.github.com/markedjs/marked/issues/1511) - Remove `tables` option [#1511](https://redirect.github.com/markedjs/marked/issues/1511) - Single backtick in link text needs to be escaped [#1515](https://redirect.github.com/markedjs/marked/issues/1515) #### Fixes - Fix parentheses around a link [#1509](https://redirect.github.com/markedjs/marked/issues/1509) - Fix headings (issue [#1510](https://redirect.github.com/markedjs/marked/issues/1510)) [#1511](https://redirect.github.com/markedjs/marked/issues/1511) #### Tests - Run tests with correct options [#1511](https://redirect.github.com/markedjs/marked/issues/1511) ### [`v0.6.3`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.3): 0.6.3 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.2...v0.6.3) #### Fixes - Fix nested blockquotes [#1464](https://redirect.github.com/markedjs/marked/issues/1464) - Fix `` issue with mixed content [#1451](https://redirect.github.com/markedjs/marked/issues/1451) - revert [#1464](https://redirect.github.com/markedjs/marked/issues/1464) [#1497](https://redirect.github.com/markedjs/marked/issues/1497) - Fix `breaks: true` [#1507](https://redirect.github.com/markedjs/marked/issues/1507) #### Docs - add docs for workers [#1432](https://redirect.github.com/markedjs/marked/issues/1432) - Add security policy [#1492](https://redirect.github.com/markedjs/marked/issues/1492) - Update supported spec versions [#1491](https://redirect.github.com/markedjs/marked/issues/1491) - Update test folder descriptions [#1506](https://redirect.github.com/markedjs/marked/issues/1506) #### DevOps - Use latest commit for demo master [#1457](https://redirect.github.com/markedjs/marked/issues/1457) - Update tests to commonmark 0.29 [#1465](https://redirect.github.com/markedjs/marked/issues/1465) - Update tests to GFM 0.29 [#1470](https://redirect.github.com/markedjs/marked/issues/1470) - Fix commonmark spec 57 and 40 (headings) [#1475](https://redirect.github.com/markedjs/marked/issues/1475) ### [`v0.6.2`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.2): 0.6.2 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.1...v0.6.2) #### Security - Link redos [#1426](https://redirect.github.com/markedjs/marked/issues/1426) - Text redos [#1460](https://redirect.github.com/markedjs/marked/issues/1460) #### Fixes - Links parens [#1435](https://redirect.github.com/markedjs/marked/issues/1435) - New line after table with escaped pipe [#1439](https://redirect.github.com/markedjs/marked/issues/1439) - List item tables [#1446](https://redirect.github.com/markedjs/marked/issues/1446) #### Enhancements - Pass token boolean to the `listitem` function [#1440](https://redirect.github.com/markedjs/marked/issues/1440) - Allow html without \n after [#1438](https://redirect.github.com/markedjs/marked/issues/1438) #### CLI - Update man page to include `--test` and fix argv parameters [#1442](https://redirect.github.com/markedjs/marked/issues/1442) - Add a `--version` flag to print marked version [#1448](https://redirect.github.com/markedjs/marked/issues/1448) #### Testing - Normalize marked tests [#1444](https://redirect.github.com/markedjs/marked/issues/1444) - Update tests to node 4 syntax [#1449](https://redirect.github.com/markedjs/marked/issues/1449) ### [`v0.6.1`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.1): 0.6.1 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.6.0...v0.6.1) #### Fixes - Fix parenthesis url redos [#1414](https://redirect.github.com/markedjs/marked/issues/1414) #### Docs - Update demo site to use a worker [#1418](https://redirect.github.com/markedjs/marked/issues/1418) - Update devDependencies to last stable [#1409](https://redirect.github.com/markedjs/marked/issues/1409) - Update documentation about extending Renderer [#1417](https://redirect.github.com/markedjs/marked/issues/1417) - Remove `--save` option as it isn't required anymore [#1422](https://redirect.github.com/markedjs/marked/issues/1422) - Add snyk badge [#1420](https://redirect.github.com/markedjs/marked/issues/1420) ### [`v0.6.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.6.0): 0.6.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.5.2...v0.6.0) #### Breaking Changes - Drop support for Node v0.10 and old browsers such as Internet Explorer - You should not have any problems if using Node 4+ or a modern browser - Add parameter `slugger` to `Renderer.prototype.heading` method [#1401](https://redirect.github.com/markedjs/marked/issues/1401) - You should not have any problems if you do not override this method #### New Features - Add new export `marked.Slugger` [#1401](https://redirect.github.com/markedjs/marked/issues/1401) #### Fixes - Fix emphasis followed by a punctuation [#1383](https://redirect.github.com/markedjs/marked/issues/1383) - Fix bold around autolink email address [#1385](https://redirect.github.com/markedjs/marked/issues/1385) - Make autolinks case insensitive [#1384](https://redirect.github.com/markedjs/marked/issues/1384) - Make code fences compliant with Commonmark spec [#1387](https://redirect.github.com/markedjs/marked/issues/1387) - Make blockquote paragraph continuation compliant with Commonmark spec [#1394](https://redirect.github.com/markedjs/marked/issues/1394) - Make ordered list marker length compliant with Commonmark spec [#1391](https://redirect.github.com/markedjs/marked/issues/1391) - Make empty list items compliant with Commonmark spec [#1395](https://redirect.github.com/markedjs/marked/issues/1395) - Make tag escaping compliant with Commonmark spec [#1397](https://redirect.github.com/markedjs/marked/issues/1397) - Make strong/bold compliant with Commonmark spec [#1400](https://redirect.github.com/markedjs/marked/issues/1400) - Fix handling of adjacent lists [#684](https://redirect.github.com/markedjs/marked/issues/684) - Add better error handling when token type cannot be found [#1005](https://redirect.github.com/markedjs/marked/issues/1005) - Fix duplicate heading id and non-latin characters [#1401](https://redirect.github.com/markedjs/marked/issues/1401) #### CLI - Pretty print ENOENT errors on cli [#1396](https://redirect.github.com/markedjs/marked/issues/1396) - Update repo url in man [#1403](https://redirect.github.com/markedjs/marked/issues/1403) #### Docs - Fix `breaks` option description [#1381](https://redirect.github.com/markedjs/marked/issues/1381) - Update docs to include "Since" version [#1382](https://redirect.github.com/markedjs/marked/issues/1382) - Add defibrillator badge for [@mccraveiro](https://redirect.github.com/mccraveiro) [#1392](https://redirect.github.com/markedjs/marked/issues/1392) #### Tests - Remove old test covered by gfm/cm [#1389](https://redirect.github.com/markedjs/marked/issues/1389) ### [`v0.5.2`](https://redirect.github.com/markedjs/marked/releases/tag/v0.5.2): 0.5.2 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.5.1...v0.5.2) #### Bug Fixes - Fix emphasis closing by single \_ (part of left-flanking run) [#1351](https://redirect.github.com/markedjs/marked/issues/1351) - Make URL handling consistent between links and images [#1359](https://redirect.github.com/markedjs/marked/issues/1359) #### Other - Add missing semicolons, add lint rule [#1340](https://redirect.github.com/markedjs/marked/issues/1340) - Make Steven ([@styfle](https://redirect.github.com/styfle)) a npm publisher [#1346](https://redirect.github.com/markedjs/marked/issues/1346) - Fix typo in docs: re*s*ponsibility [#1364](https://redirect.github.com/markedjs/marked/issues/1364) - Add the ability to specify options on the [demo page](https://marked.js.org/demo/) as JSON [#1357](https://redirect.github.com/markedjs/marked/issues/1357) - Show red border when JSON options are invalid [#1360](https://redirect.github.com/markedjs/marked/issues/1360) - Move license file back to root dir [#1356](https://redirect.github.com/markedjs/marked/issues/1356) - Fix builds: remove node v0.10 from travis matrix [#1366](https://redirect.github.com/markedjs/marked/issues/1366) - This does not a break compatibility in this release but it will a future release - Add `files` key to package.json to prevent publishing unused files [#1367](https://redirect.github.com/markedjs/marked/issues/1367) ### [`v0.5.1`](https://redirect.github.com/markedjs/marked/releases/tag/v0.5.1): 0.5.1 [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.5.0...v0.5.1) #### Security - Fix inline code regex and prevent REDOS [#1337](https://redirect.github.com/markedjs/marked/issues/1337) - Use `@markedjs/html-differ` to prevent REDOS [#1331](https://redirect.github.com/markedjs/marked/issues/1331) #### Bug Fixes - Fix typographic substitution in (pre|code|kbd|script) blocks when smartypants=true [#1335](https://redirect.github.com/markedjs/marked/issues/1335) - Fix auto-linking email address [#1338](https://redirect.github.com/markedjs/marked/issues/1338) #### Other - Refactor the `escape()` function to improve performance 10-20% [#975](https://redirect.github.com/markedjs/marked/issues/975) - Update copyright in source code [#1326](https://redirect.github.com/markedjs/marked/issues/1326) - Update benchmark tests [#1019](https://redirect.github.com/markedjs/marked/issues/1019) - Add dependency badges to readme [#1333](https://redirect.github.com/markedjs/marked/issues/1333) ### [`v0.5.0`](https://redirect.github.com/markedjs/marked/releases/tag/v0.5.0): 0.5.0 [Compare Source](https://redirect.github.com/markedjs/marked/compare/0.4.0...v0.5.0) #### Security - Use rtrim, not unsafe /X+$/ [#1260](https://redirect.github.com/markedjs/marked/issues/1260) #### Breaking Changes - Fix GFM empty table cells [#1262](https://redirect.github.com/markedjs/marked/issues/1262) - Fix GFM extended auto-linking requiring multiple backpedals [#1293](https://redirect.github.com/markedjs/marked/issues/1293) - Fix GFM strikethrough compatibility [#1258](https://redirect.github.com/markedjs/marked/issues/1258) - Fix issues link references and prototypes [#1299](https://redirect.github.com/markedjs/marked/issues/1299) - Fix hard line break when backslash at EOL [#1303](https://redirect.github.com/markedjs/marked/issues/1303) - Fix hyperlinks with parenthesis [#1305](https://redirect.github.com/markedjs/marked/issues/1305) - Fix loose lists [#1304](https://redirect.github.com/markedjs/marked/issues/1304) - Fix strong and em [#1315](https://redirect.github.com/markedjs/marked/issues/1315) #### Docs - Fix typo in USING_ADVANCED.md [#1276](https://redirect.github.com/markedjs/marked/issues/1276) - Add pictures to AUTHORS.md [#1272](https://redirect.github.com/markedjs/marked/issues/1272) - Change badge to latest version of marked [#1300](https://redirect.github.com/markedjs/marked/issues/1300) - Change badges from shields.io to badgen.net [#1317](https://redirect.github.com/markedjs/marked/issues/1317) - Use iframe to sandbox generated html [#1295](https://redirect.github.com/markedjs/marked/issues/1295) - Add additional links into readme [#1310](https://redirect.github.com/markedjs/marked/issues/1310) - Add missing parameters for renderer methods [#1311](https://redirect.github.com/markedjs/marked/issues/1311) - Add undocumented option descriptions [#1312](https://redirect.github.com/markedjs/marked/issues/1312) - Add navigation sidebar to the docs [#1316](https://redirect.github.com/markedjs/marked/issues/1316) #### CI - Change travis clone depth to 3 [#1270](https://redirect.github.com/markedjs/marked/issues/1270) ### [`v0.4.0`](https://redirect.github.com/markedjs/marked/releases/tag/0.4.0) [Compare Source](https://redirect.github.com/markedjs/marked/compare/v0.3.19...0.4.0) #### Security Fixes - Fix unsafe `heading` regex ([#1224](https://redirect.github.com/markedjs/marked/issues/1224)) - Fix unsafe `link` regex ([#1223](https://redirect.github.com/markedjs/marked/issues/1223), [#1227](https://redirect.github.com/markedjs/marked/issues/1227)) #### New Features - Add [option](https://marked.js.org/#/USING_ADVANCED.md) to disable heading ids ([#1190](https://redirect.github.com/markedjs/marked/issues/1190)) - Add support for [GFM Task Lists](https://github.github.com/gfm/#task-list-items-extension-) to comply with the GFM spec ([#1250](https://redirect.github.com/markedjs/marked/issues/1250)) #### Breaking Changes - Fix escaping pipes in tables ([#1239](https://redirect.github.com/markedjs/marked/issues/1239)) - Fix html output for tables to match GFM spec ([#1245](https://redirect.github.com/markedjs/marked/issues/1245)) - Fix many bugs to reach parity with CommonMark spec ([#1135](https://redirect.github.com/markedjs/marked/issues/1135)) - Fix new Renderer() so it uses default options ([#1203](https://redirect.github.com/markedjs/marked/issues/1203)) - Fix text and paragraph return types ([#1248](https://redirect.github.com/markedjs/marked/issues/1248)) ([#1249](https://redirect.github.com/markedjs/marked/issues/1249)) - Fix `` less than 3 chars ([#1181](https://redirect.github.com/markedjs/marked/issues/1181)) - Fix `