File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66This project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) ,
77with 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: ` {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
269282for 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
Original file line number Diff line number Diff line change @@ -326,14 +326,14 @@ Adds support for specifying attributes (specifically height and width) for image
326326The attribute elements are given as ` key=value ` pairs inside curly braces ` { } ` after the image node to which they apply,
327327for example:
328328```
329- {height=5 width=6 }
329+ {width=640 height=480 }
330330```
331331will 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
338338Note: since this extension uses curly braces ` { ` ` } ` as its delimiters (in ` StylesDelimiterProcessor ` ), this means that
339339other delimiter processors * cannot* use curly braces for delimiting.
You can’t perform that action at this time.
0 commit comments