diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-08-23 22:59:02 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-08-23 22:59:02 +0100 |
commit | 21d59712dd56909293b3804b1d89320216f6906a (patch) | |
tree | 06300d54c0e5c2804f80167967c40f5371011401 /compat/lustre_animation/run_highlight.js | |
parent | 83962575c255cc3b58677d18262a1d7b18e8239d (diff) | |
download | lustre-21d59712dd56909293b3804b1d89320216f6906a.tar.gz lustre-21d59712dd56909293b3804b1d89320216f6906a.zip |
:ambulance: Update third-party lustre_animation package to new api.
Diffstat (limited to 'compat/lustre_animation/run_highlight.js')
-rw-r--r-- | compat/lustre_animation/run_highlight.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/lustre_animation/run_highlight.js b/compat/lustre_animation/run_highlight.js new file mode 100644 index 0000000..d73c817 --- /dev/null +++ b/compat/lustre_animation/run_highlight.js @@ -0,0 +1,3 @@ +document.querySelectorAll('code').forEach((el) => { + hljs.highlightElement(el); +}); |