Skip to content

Commit 7e7cfe7

Browse files
committed
14.0.1
1 parent adb7923 commit 7e7cfe7

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2021 Jean-Francois Cere
3+
Copyright (c) 2017-2022 Jean-Francois Cere
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img alt="License" src="https://img.shields.io/npm/l/ngx-markdown.svg">
1616
</a>
1717
<br>
18-
<img alt="Dependency Status" src="https://img.shields.io/librariesio/release/npm/ngx-markdown/14.0.0">
18+
<img alt="Dependency Status" src="https://img.shields.io/librariesio/release/npm/ngx-markdown/14.0.1">
1919
<a href="https://www.npmjs.com/package/ngx-markdown">
2020
<img alt="Monthly Downloads" src="https://img.shields.io/npm/dm/ngx-markdown.svg">
2121
</a>
@@ -660,6 +660,12 @@ The same way the component works, you can use `markdown` directive to accomplish
660660
[data]="markdown"
661661
(ready)="onReady()">
662662
</div>
663+
664+
<!-- inline parser, omitting rendering top-level paragraph -->
665+
<div markdown
666+
[data]="markdown"
667+
[inline]="true">
668+
</div>
663669
```
664670

665671
### Pipe
@@ -775,7 +781,7 @@ update() {
775781
}
776782
```
777783

778-
For an exemple, refer to the [re-render](https://jfcere.github.io/ngx-markdown/rerender) demo page.
784+
> :blue_book: Refer to the ngx-markdown [re-render demo](https://jfcere.github.io/ngx-markdown/rerender) for a live example.
779785
780786
## Syntax highlight
781787

@@ -825,8 +831,8 @@ Building with AoT is part of the CI and is tested every time a commit occurs so
825831

826832
Here is the list of tasks that will be done on this library in the near future ...
827833

828-
- Add copy-to-clipboard feature
829834
- Add a FAQ section to the README.md
835+
- Improve flexibily for some options
830836

831837
## Contribution
832838

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-markdown",
3-
"version": "14.0.0",
3+
"version": "14.0.1",
44
"description": "Angular library that uses marked to parse markdown to html combined with Prism.js for synthax highlights",
55
"homepage": "https://github.com/jfcere/ngx-markdown",
66
"license": "MIT",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-markdown",
3-
"version": "14.0.0",
3+
"version": "14.0.1",
44
"description": "Angular library that uses marked to parse markdown to html combined with Prism.js for synthax highlights",
55
"homepage": "https://github.com/jfcere/ngx-markdown",
66
"license": "MIT",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7108,7 +7108,7 @@ ng-packagr@^14.0.0:
71087108
esbuild "^0.14.29"
71097109

71107110
"ngx-markdown@file:./lib":
7111-
version "14.0.0"
7111+
version "14.0.1"
71127112
dependencies:
71137113
"@types/marked" "^4.0.3"
71147114
clipboard "^2.0.11"

0 commit comments

Comments
 (0)