Skip to content

Commit 8be4303

Browse files
committed
Prepare for 0.15.0
1 parent ffdf6ef commit 8be4303

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
77
with the exception that 0.x versions can break between minor versions.
88

9+
## [0.15.0] - 2020-05-15
10+
### Added
11+
- Extension for width/height attributes for images, thanks @dohertyfjatl
12+
- Syntax: `![text](/url.png){width=640 height=480}`
13+
- Use class `ImageAttributesExtension` in artifact `commonmark-ext-image-attributes`
14+
- Extension for task lists (GitHub-style), thanks @dohertyfjatl
15+
- Syntax:
16+
```
17+
- [x] task #1`
18+
- [ ] task #2`
19+
```
20+
- Use class `TaskListItemsExtension` in artifact `commonmark-ext-task-list-items`
21+
922
## [0.14.0] - 2020-01-22
1023
### Added
1124
- Add `sanitizeUrls` to `HtmlRenderer.Builder` to enable sanitizing URLs
@@ -269,6 +282,7 @@ Initial release of commonmark-java, a port of commonmark.js with extensions
269282
for autolinking URLs, GitHub flavored strikethrough and tables.
270283
271284
285+
[0.15.0]: https://github.com/atlassian/commonmark-java/compare/commonmark-parent-0.14.0...commonmark-parent-0.15.0
272286
[0.14.0]: https://github.com/atlassian/commonmark-java/compare/commonmark-parent-0.13.1...commonmark-parent-0.14.0
273287
[0.13.1]: https://github.com/atlassian/commonmark-java/compare/commonmark-parent-0.13.0...commonmark-parent-0.13.1
274288
[0.13.0]: https://github.com/atlassian/commonmark-java/compare/commonmark-parent-0.12.1...commonmark-parent-0.13.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,14 @@ Adds support for specifying attributes (specifically height and width) for image
326326
The attribute elements are given as `key=value` pairs inside curly braces `{ }` after the image node to which they apply,
327327
for example:
328328
```
329-
![text](/url.png){height=5 width=6}
329+
![text](/url.png){width=640 height=480}
330330
```
331331
will be rendered as:
332332
```
333-
<img src="/url.png" alt="text" height="5" width="6" />
333+
<img src="/url.png" alt="text" width="640" height="480" />
334334
```
335335

336-
Use class `StylesExtension` in artifact `commonmark-ext-image-attributes`.
336+
Use class `ImageAttributesExtension` in artifact `commonmark-ext-image-attributes`.
337337

338338
Note: since this extension uses curly braces `{` `}` as its delimiters (in `StylesDelimiterProcessor`), this means that
339339
other delimiter processors *cannot* use curly braces for delimiting.

0 commit comments

Comments
 (0)