This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
Releases: datadesk/slackdown
Releases · datadesk/slackdown
v0.0.3 Hyperlinks and parsing
- Added support for hyperlinks.
- Plain links will be rendered inside
<a>
tags with its contents as both thehref
andinnerHTML
. - Named links will be rendered inside
<a>
tags with its name as theinnerHTML
and its link as thehref
. - References to other users will have their hyperlinks removed.
- References to other channels will have their hyperlinks removed.
- Plain links will be rendered inside
- A new method
parse
was added. Currently, it takes an object with atext
attribute and renders it. This is in preparation for more complex parsing which requires more than just the Slack text, but the entire Slack message object. - Other minor bug fixes.
v0.0.2: Block element improvements
- All elements should now be wrapped inside proper block elements like
<p>
tags. - Formatting characters inside of
<pre>
elements will now be rendered as they appear instead of formatting the text around them. - Fixed a major bug in which combining list delaminations in a single list resulted in malformed lists.
- Added more comprehensive tests.
- Added preliminary support for escaping. See this issue for more.
- Other minor improvements.