Skip to content

Commit 698823a

Browse files
Merge pull request #308 from davidalejandroaguilar/doc-fix-stimulus-controller-41041
Add comment on syntax highlighting Stimulus controller example for importing lexxy installed with a Javascript bundler
2 parents 8cee624 + c39b7d2 commit 698823a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ To apply syntax highlighting to rendered Action Text content, you need to call t
108108
```javascript
109109
import { Controller } from "@hotwired/stimulus"
110110
import { highlightAll } from "lexxy"
111+
// Or if you installed via a javascript bundler:
112+
// import { highlightAll } from "@37signals/lexxy"
111113

112114
export default class extends Controller {
113115
connect() {

0 commit comments

Comments
 (0)