Releases: guruhq/slackify-html
Render collapsible elements
Render collapsible elements correctly: https://app.shortcut.com/guru/story/122502
v1.3.4 Strip tags hidden in html <a> element text value
Fixes some links not getting rendered correctly if an html tag sneaked into the text value.
Fix Markdown not appearing for List items
This release fixes markdown such as bold, links, etc not appearing in List Item children.
Strikethrough support has also been added.
Fix Nested Lists for New Editor HTML code
This release fixes nested lists not appearing correctly if the card was created using the new editor code. The change here will also be backwards compatible with old editor code.
Feature - Display tables in slack
This release ensures that tables are rendered to slack (Tables in the new editor now support multiline table cells) - see sc-93880 for more info
Feature add to convert HTML blockquote to Slack block quote
This update will support converting html blockquote to Slack block quotes.
Fix bug for nested elements in pre block text
Fixing bug for pre
block text where nested elements display poorly because they're missing a new line.
Example:
- Currently, this JSON example with nested elements in
pre
block will be formatted poorly in Slack with all the text on one line.
{ "name": "slackify-html", "version": "1.0.0", "description": "convert simple html to slack markdown", "main": "slackify-html.js", "scripts": { "test": "tap tests.js" }}
- With this fix in place, this same example will display in Slack with the text of the nested elements separated by new lines.
{
"name": "slackify-html",
"version": "1.0.0",
"description": "convert simple html to slack markdown",
"main": "slackify-html.js",
"scripts": {
"test": "tap tests.js"
}
}
Fix bug for headers with bold text
Fixing a bug for headers h1, h2, h3, h4 that have bold text. Currently, extra asterisks are shown in Slack which messes up the formatting. This seems to affect bold tags within header tags when the entire header isn't bolded.
Example:
- Currently
<h1>h1 <b>with bold text</b></h1>
html is transformed into*h1 *with bold text**
and this displays the exact same way in Slack - With this fix in place, the
<h1>h1 <b>with bold text</b></h1>
html is transformed into*h1 with bold text*
and displays as h1 with bold text in Slack