docs(README): remove type from script tags
This commit is contained in:
parent
68e385c4d5
commit
01f43f4ca0
1 changed files with 6 additions and 6 deletions
10
README.md
10
README.md
|
@ -11,11 +11,11 @@ Simply include the `highlight.js` script package in your webpage or node app, lo
|
|||
If you're not using a build system and just want to embed this in your webpage:
|
||||
|
||||
```html
|
||||
<script type="text/javascript" src="/path/to/highlight.pack.js"></script>
|
||||
<script type="text/javascript" src="/path/to/highlightjs-rpm-specfile/rpm-specfile.js"></script>
|
||||
<script type="text/javascript">
|
||||
hljs.registerLanguage('rpm-specfile', window.hljsDefineRpmSpecfile);
|
||||
hljs.initHighlightingOnLoad();
|
||||
<script src="/path/to/highlight.pack.js"></script>
|
||||
<script src="/path/to/highlightjs-rpm-specfile/rpm-specfile.js"></script>
|
||||
<script>
|
||||
hljs.registerLanguage('rpm-specfile', window.hljsDefineRpmSpecfile);
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue