Turndown SSML
A Turndown plugin to convert SSML into markdown files, useful for bots that utilize both voice and text chat
Installation
NPM
npm i --save turndown-ssml
Yarn
yarn add turndown-ssml
Usage
Node
const turndownSsmlPlugin = ; turndownService;
ES6+
; turndownService;
Tag support
- speak - Replaced with nothing
- s - Adds a new line before and after content
- break - Depending on strength attribute replaces with nothing, a comma, or ellipsis
If there is a tag not yet supported it just means we haven't got around to adding an implementation yet. Contributions and maintainers welcome.