Skip to content

Commit b922e98

Browse files
committed
Release v1.5.0, fixed #28
1 parent ecc8e89 commit b922e98

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1+
<a name="1.5.0"></a>
2+
# [1.5.0](https://github.com/ts-stack/markdown/releases/tag/1.5.0) (2023-08-24)
3+
4+
### Features
5+
6+
- Now `Marked.parse` merges options ([#28](https://github.com/ts-stack/markdown/issues/28)):
7+
8+
```ts
9+
import { Marked, MarkedOptions } from '@ts-stack/markdown';
10+
11+
const options: MarkedOptions = { sanitize: true };
12+
console.log(Marked.parse('some string', options)); // work with v1.5 (fail with v1.4 and earlier)
13+
```
14+
115
<a name="1.4.0"></a>
2-
# [1.4.0](https://github.com/ts-stack/markdown/releases/tag/1.4.0) (2021-03-29)
16+
## [1.4.0](https://github.com/ts-stack/markdown/releases/tag/1.4.0) (2021-03-29)
317

418
### Features
519

0 commit comments

Comments
 (0)