Replies: 1 comment 3 replies
-
|
Using something like the following in your yaml header: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a toggle, like the built-in light/dark theme toggle, but for activating a "Bionic Reading" kind of formatting for blog posts. This open source library,
text-vide, looks great for this purpose. Ideally, once I get my bearings I'll add this functionality as an open source extension.I've run
npm install text-videat the top level of my website. This added anode_modulesfolder with thetext-videlibrary inside. I've not yet committed thenode_modulesfolder.How can I import
text-videinto a script in the HTML? Do I actually need to downloadtext-videas a dependency with the website? Or is there a way to fetch it at runtime?I know this is a generic HTML/JS question, but I am hoping I can get Quarto-relevant guidance early as I move this functionality to an extension.
Beta Was this translation helpful? Give feedback.
All reactions