1c6141c131
* Update lexxy to 0.9.5.beta * Fix syntax highlight controller for lexxy 0.9.5.beta The highlightAll export was renamed to highlightCode. --------- Co-authored-by: Mike Dalessio <mike@37signals.com>
9 lines
169 B
JavaScript
9 lines
169 B
JavaScript
import { Controller } from "@hotwired/stimulus"
|
|
import { highlightCode } from "lexxy"
|
|
|
|
export default class extends Controller {
|
|
connect() {
|
|
highlightCode()
|
|
}
|
|
}
|