- Add file ending to
SpeechOutput
component imports in your MDX files:import SpeechOutput from "gatsby-mdx-tts/SpeechOutput.js";
as MDX v2 only supports ESM imports. - Plugin option
awsCredentials
was removed. UseawsProfile
or environment variables instead (see README for details). - Refresh Gatsby cache using
npx gatsby clean
as the cache mechanics have changed.
- 60d6127:
- Added support for Gatsby 5.
- Added support for React 18.
- Added support for MDX v2.
- 7de6f47: Display warning in Gatsby log if an empty content block was found.
- 2d0300d: Added
skipRegeneratingIfExistingInPublicFolder
configuration option to allow skipping regenerating all audio files and speech marks when Gatsby cache is cleared and they already exist in the public folder.
9 April 2020
- Breaking change: BREAKING CHANGE: renamed plugin option speechOutputComponentName to speechOutputComponentNames to allow multiple custom component names
355b6e7
8 April 2020
- fixed ignoredWordSplittingCharactersRegex interfering with slashes in words
e032a2b
8 April 2020
- allow ignoring characters that should not split up word markings
0f7a3dc
8 April 2020
- refactored word marking algorithm to allow slashes and diacritics in or between words
613a216
7 April 2020
- allow defining characters to ignore in speech output
d502ce7
- lower voice when reading headings even if they do not end with a punctuation mark
89e8b4a
7 April 2020
- Breaking change: BREAKING CHANGE: plugin option
lexiconNames
is now calleddefaultLexiconNames
, allow adding individual speech output parameters to<SpeechOutput>
componentsf83497a
- updated dependencies
f52148c
6 April 2020
- Bump acorn from 6.4.0 to 6.4.1
#9
- added MDX logo to title image
4eeb2e5
- allow customizing how audio is played by passing in an optional custom sound hook
d2cee5c
- aligned example code styles
db95261
1 April 2020
- added fetch polyfill for IE 11
ab747cb
25 March 2020
- fixed prettierignore and reformatted everything
a1643c7
- fixed marked words getting out of sync with speech output
b146c9f
- implemented onWordMarked event listener
9c0e8cd
23 March 2020
- check if HTML resulting from WordMarker contains <marker> tag at correct place in various situations, fixed some issues in the WordMarker to align with expected results
8b8a899
- updated non-major dependencies
b468304
- cache speech marks and audio file using caching API and print output logs using reporter API of Gatsby
b5ee573
26 February 2020
- Breaking change: BREAKING CHANGE: the SpeechOutput component needs to be imported from "gatsby-mdx-tts/SpeechOutput" now
06103cf
- generate MDXAST used for tests from actual MDX files
c8d047c
- automatically generate a changelog file when publishing a new version
1b211e7
21 February 2020