# Microsoft Azure Speech Service SSML ## Official resources - [SSML structure reference](https://learn.microsoft.com/azure/ai-services/speech-service/speech-synthesis-markup-structure) - [Voice and sound with SSML](https://learn.microsoft.com/azure/ai-services/speech-service/speech-synthesis-markup-voice) - [Voice gallery](https://learn.microsoft.com/azure/ai-services/speech-service/language-support?tabs=tts) ## Speech Markdown formatter coverage The `microsoft-azure` formatter supports Azure Text-to-Speech features including automatic MSTTS namespace injection and neural voice styles. ### SSML Element Support Matrix The following table shows which Azure SSML elements are supported by Speech Markdown: | SSML Element | Status | Speech Markdown Syntax | Notes | | --------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | **Core W3C SSML** | | `` | ✅ Full | Automatic | Root element with automatic `xmlns:mstts` injection when needed | | `` | ✅ Full | `(text)[voice:"name"]` or `#[voice:"name"]` | Voice selection and switching | | `` | ✅ Full | `(text)[lang:"locale"]` or `#[lang:"locale"]` | Language/accent switching | | `

` | ✅ Full | Automatic (optional) | Paragraph tags via `includeParagraphTag` option | | `` | ❌ Not supported | N/A | Sentence tags not implemented | | `` | ✅ Full | `[break:"time"]` or `[break:"strength"]` | Pauses with time or strength | | `` | ✅ Full | `(text)[rate:"value"]`, `[pitch:"value"]`, `[volume:"value"]` | Rate, pitch, volume control | | `` | ✅ Partial | `(text)[address]`, `[number]`, `[ordinal]`, `[telephone]`, `[fraction]`, `[date:"format"]`, `[time:"format"]`, `[characters]` | Interpret-as types supported | | `` | ✅ Full | `(text)[ipa:"pronunciation"]` | IPA pronunciation | | `` | ✅ Full | `(text)[sub:"alias"]` | Text substitution | | `` | ✅ Full | `++text++` (moderate), `+text+` (strong), `--text--` (reduced), `-text-` (none) | Word-level stress with 4 levels | | `