Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

v0.0.3 Hyperlinks and parsing

Latest
Compare
Choose a tag to compare
@brizandrew brizandrew released this 28 Jul 18:32
· 2 commits to master since this release
  • Added support for hyperlinks.
    • Plain links will be rendered inside <a> tags with its contents as both the href and innerHTML.
    • Named links will be rendered inside <a> tags with its name as the innerHTML and its link as the href.
    • References to other users will have their hyperlinks removed.
    • References to other channels will have their hyperlinks removed.
  • A new method parse was added. Currently, it takes an object with a text 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.