Skip to content

Commit

Permalink
Updated highlight.js to 11.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: JoshyPHP <[email protected]>
  • Loading branch information
JoshyPHP committed Jul 13, 2022
1 parent fa124f5 commit 15b5f79
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ hljs-loader is a small (3 KB) script that can be added to any webpage to automat
Add this anywhere to your HTML page:

```html
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].29/loader.min.js"
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].30/loader.min.js"
crossorigin="anonymous"
integrity="sha384-0yndJFp7hIFOdRYXYXxDJ3bJpQ1tgNLMJcPl+9ky8AOMTseEywZYaRHD0bvdsoMI"></script>
integrity="sha384-rZ0ejZvSNKZ+8zPSIZ+HNyQ342JWo975f3niYoUApz9n/1/kQRwO8zS/BooFCO41"></script>
```


Expand All @@ -17,13 +17,13 @@ Add this anywhere to your HTML page:
No configuration is required but a number of options are available and can be set on the `script` element that loads this script.

```html
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].29/loader.min.js"
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].30/loader.min.js"
crossorigin="anonymous"
data-hljs-observe="body"
data-hljs-options='{"classPrefix":""}'
data-hljs-style="github"
data-hljs-url="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.1/build/"
integrity="sha384-0yndJFp7hIFOdRYXYXxDJ3bJpQ1tgNLMJcPl+9ky8AOMTseEywZYaRHD0bvdsoMI"></script>
data-hljs-url="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/"
integrity="sha384-rZ0ejZvSNKZ+8zPSIZ+HNyQ342JWo975f3niYoUApz9n/1/kQRwO8zS/BooFCO41"></script>
```

<dl>
Expand Down
2 changes: 1 addition & 1 deletion ext/highlight.js
Submodule highlight.js updated 68 files
+55 −0 .github/ISSUE_TEMPLATE/z_request_language_repo.md
+6 −0 .github/dependabot.yml
+5 −2 .github/workflows/lint.yml
+5 −5 .github/workflows/release.yml
+9 −1 .github/workflows/size_report.yml
+6 −3 .github/workflows/tests.js.yml
+43 −3 CHANGES.md
+1 −1 CONTRIBUTORS.md
+18 −18 README.md
+4 −0 SUPPORTED_LANGUAGES.md
+1 −1 docs/conf.py
+6 −3 docs/language-contribution.rst
+1 −1 extra/3RD_PARTY_QUICK_START.md
+1,061 −583 package-lock.json
+22 −22 package.json
+3 −3 src/highlight.js
+2 −1 src/languages/csharp.js
+1 −0 src/languages/css.js
+2,618 −2,607 src/languages/gml.js
+3 −3 src/languages/graphql.js
+1 −1 src/languages/java.js
+1 −1 src/languages/javascript.js
+15 −8 src/languages/json.js
+14 −4 src/languages/kotlin.js
+7 −2 src/languages/less.js
+2 −0 src/languages/lib/kws_swift.js
+2 −0 src/languages/python.js
+3 −2 src/languages/rust.js
+12 −14 src/languages/scala.js
+3 −1 src/languages/scss.js
+2 −1 src/languages/stylus.js
+1 −1 src/languages/wasm.js
+10 −3 src/languages/xml.js
+9 −7 src/lib/html_renderer.js
+20 −12 src/lib/token_tree.js
+98 −0 src/styles/panda-syntax-dark.css
+94 −0 src/styles/panda-syntax-light.css
+1 −1 test/fixtures/expect/explicit2.txt
+2 −2 test/fixtures/index.html
+1 −0 test/markup/csharp/scoped.expect.txt
+1 −0 test/markup/csharp/scoped.txt
+2 −0 test/markup/css/css_consistency.expect.txt
+2 −0 test/markup/css/css_consistency.txt
+4 −1 test/markup/css/url.expect.txt
+4 −1 test/markup/css/url.txt
+2 −2 test/markup/http/default.expect.txt
+3 −3 test/markup/json/comments.expect.txt
+10 −10 test/markup/kotlin/class.expect.txt
+1 −1 test/markup/less/css_consistency.expect.txt
+3 −0 test/markup/rust/types.expect.txt
+3 −0 test/markup/rust/types.txt
+1 −1 test/markup/scala/inline.expect.txt
+2 −0 test/markup/scala/transparent.expect.txt
+2 −0 test/markup/scala/transparent.txt
+1 −1 test/markup/scss/css_consistency.expect.txt
+2 −2 test/markup/scss/default.expect.txt
+1 −1 test/markup/stylus/css_consistency.expect.txt
+1 −1 test/markup/stylus/default.expect.txt
+7 −0 test/markup/swift/distributed-actor-runtime.expect.txt
+7 −0 test/markup/swift/distributed-actor-runtime.txt
+1 −0 test/markup/swift/types.expect.txt
+1 −0 test/markup/swift/types.txt
+3 −0 test/markup/xml/non-ascii-attribute-names.expect.txt
+3 −0 test/markup/xml/non-ascii-attribute-names.txt
+12 −0 test/markup/xml/non-ascii-element-names.expect.txt
+12 −0 test/markup/xml/non-ascii-element-names.txt
+1 −1 tools/checkAutoDetect.js
+2 −0 tools/developer.html
2 changes: 1 addition & 1 deletion loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
options = config['hljsOptions'],
skip = {'':1},
style = config['hljsStyle'] || 'default',
url = config['hljsUrl'] || 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.1/build/';
url = config['hljsUrl'] || 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/';

// Prepare to highlight all code blocks as soon as possible
if (document.readyState === 'complete')
Expand Down
2 changes: 1 addition & 1 deletion loader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15b5f79

Please sign in to comment.