This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
- 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.