Skip to content

Conversation

@davidalejandroaguilar
Copy link

Trying Trixx, I'm using Vite and this is the correct import.

So far so good, great job!

@lylo
Copy link

lylo commented Oct 6, 2025

I believe the documentation is currently correct with import { highlightAll } from "lexxy"

@jorgemanrubia
Copy link
Member

@davidalejandroaguilar thanks. The current documentation is correct if you are using importmaps. Would you mind modifying your PR to add a note to the README about how to import if using JS bundlers?

@davidalejandroaguilar davidalejandroaguilar force-pushed the doc-fix-stimulus-controller-41041 branch from ec5a5a7 to c39b7d2 Compare October 21, 2025 02:47
@davidalejandroaguilar davidalejandroaguilar changed the title Fix documentation for syntax highlighting Stimulus controller Add comment on syntax highlighting Stimulus controller example for importing lexxy installed with a Javascript bundler Oct 21, 2025
@davidalejandroaguilar
Copy link
Author

Thanks guys, you're right! I just amended my commit.

Think this small change will help prevent confusion. Again, great job @jorgemanrubia!

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.

3 participants