Skip to content

Commit

Permalink
(chore) hljs.highlightAll();
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Feb 25, 2022
1 parent 1b204bd commit 921ef57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If you're not using a build system and just want to embed this in your webpage:
<script src="/path/to/highlightjs-rpm-specfile/rpm-specfile.js"></script>
<script>
hljs.registerLanguage('rpm-specfile', window.hljsDefineRpmSpecfile);
hljs.initHighlightingOnLoad();
hljs.highlightAll();
</script>
```

Expand All @@ -26,7 +26,7 @@ var hljs = require('highlightjs');
var hljsDefineRpmSpecfile = require('highlightjs-rpm-specfile');

hljsDefineRpmSpecfile(hljs);
hljs.initHighlightingOnLoad();
hljs.highlightAll();
```

### Advanced
Expand Down

0 comments on commit 921ef57

Please sign in to comment.