Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of eleventy-plugin-text-to-speech that uses rules with regex patterns #8

Merged
merged 1 commit into from
Jul 9, 2022

Conversation

jackdbd
Copy link
Owner

@jackdbd jackdbd commented Jul 9, 2022

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 9, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4747326
Status: ✅  Deploy successful!
Preview URL: https://32284332.undici.pages.dev
Branch Preview URL: https://rules-with-regex-patterns.undici.pages.dev

View logs

@jackdbd jackdbd changed the title Rules with regex patterns New version of eleventy-plugin-text-to-speech that uses rules with regex patterns Jul 9, 2022
@jackdbd jackdbd force-pushed the rules-with-regex-patterns branch 2 times, most recently from 894b2cf to 9644fff Compare July 9, 2022 14:20
…egexes

eleventy-plugin-text-to-speech now uses rules to define what text should
be synthesized as audio. A rule is a hash map containing:

1. a regex pattern
2. an optional array of CSS selectors
3. an optional array of XPath expressions

The plugin now uses a cache for the audio assets it produces.

This commit introduces a BREAKING CHANGE.
@jackdbd jackdbd force-pushed the rules-with-regex-patterns branch from 9644fff to 4747326 Compare July 9, 2022 14:37
@jackdbd jackdbd merged commit 5130132 into alpha Jul 9, 2022
@jackdbd jackdbd deleted the rules-with-regex-patterns branch July 9, 2022 14:39
@jackdbd jackdbd restored the rules-with-regex-patterns branch July 9, 2022 14:45
@jackdbd jackdbd deleted the rules-with-regex-patterns branch July 9, 2022 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant