Audio Reader
About 72 wordsLess than 1 minute
2026-08-31
The Audio Reader directive inserts inline pronunciation and audio preview playback buttons within Markdown paragraphs.
Syntax
Use the :audio-reader text directive with an audio src:
Pronunciation of the word is :audio-reader[Listen]{src="/assets/audio/sample.mp3"}.Behavior
- Renders an inline waveform badge inside the paragraph.
- Plays the audio sample with visual feedback on click.
- Built using lightweight HTML5 Audio APIs.
Copyright
Copyright Ownership:matsuzaka-yuki
License under:Attribution 4.0 International (CC-BY-4.0)