Release Notes:
๐ Major Changes
TypeScript Rewrite & ESM-Only (#50)
- Complete rewrite in TypeScript with full type definitions
- Breaking Change: Now exclusively ESM (ECMAScript Modules) - CommonJS no longer supported
- Improved type safety and developer experience
- Modern module system for better tree-shaking and compatibility
โจ Enhancements
HTML Comment Stripping (#51)
- HTML comments are now automatically removed from Slack output
- Cleaner markdown-to-Slack conversion without unwanted comment artifacts
๐ Bug Fixes
Multiline Blockquote Support (#52)
- Fixed handling of multiline blockquotes for proper Slack formatting
- Blockquotes now correctly preserve multi-line content
This release contains breaking changes:
- Node.js: Requires Node.js environment with ESM support
Before (v4.x - CommonJS):
const slackifyMarkdown = require('slackify-markdown');
After (v5.x - ESM):
import { slackifyMarkdown } from 'slackify-markdown';