Browse Source

upgrade highlight.js to v10.0.2

pull/68/head
adam j hartz 1 month ago
parent
commit
57c6a5a287
Signed by: hz <hartz@mit.edu> GPG Key ID: 5FDD2840E179AD62
7 changed files with 7476 additions and 16726 deletions
  1. +4
    -2
      CHANGELOG.md
  2. +0
    -16687
      catsoop/__STATIC__/scripts/highlight/cs_highlight.pack.js
  3. +0
    -34
      catsoop/__STATIC__/scripts/highlight/cs_highlight.pack.min.js
  4. +7425
    -0
      catsoop/__STATIC__/scripts/highlight/highlight.js
  5. +44
    -0
      catsoop/__STATIC__/scripts/highlight/highlight.min.js
  6. +1
    -1
      catsoop/__STATIC__/templates/main.template
  7. +2
    -2
      catsoop/__UTIL__/jslicense.html/content.xml

+ 4
- 2
CHANGELOG.md View File

@@ -12,8 +12,10 @@ _Work toward next release. Currently under development._
* Auto-generated `csq_name` fields increment for every question, even those
that have names specified.

* Use [mistletoe](https://github.com/miyuchina/mistletoe) for handling Markdown
(CommonMark) instead of Python-Markdown.
* Switched to [mistletoe](https://github.com/miyuchina/mistletoe) for handling
Markdown (CommonMark) instead of Python-Markdown.

* Upgraded [highlight.js](https://highlightjs.org/) to version 10.0.2.

**DEPRECATED:**



+ 0
- 16687
catsoop/__STATIC__/scripts/highlight/cs_highlight.pack.js
File diff suppressed because it is too large
View File


+ 0
- 34
catsoop/__STATIC__/scripts/highlight/cs_highlight.pack.min.js
File diff suppressed because it is too large
View File


+ 7425
- 0
catsoop/__STATIC__/scripts/highlight/highlight.js
File diff suppressed because it is too large
View File


+ 44
- 0
catsoop/__STATIC__/scripts/highlight/highlight.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
catsoop/__STATIC__/templates/main.template View File

@@ -45,7 +45,7 @@
</script>

<!-- Syntax Highlighting -->
<script type="text/javascript" src="BASE/scripts/highlight/cs_highlight.pack.min.js"></script>
<script type="text/javascript" src="BASE/scripts/highlight/highlight.min.js"></script>
<script type="text/javascript">
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3
hljs.initHighlightingOnLoad();


+ 2
- 2
catsoop/__UTIL__/jslicense.html/content.xml View File

@@ -50,9 +50,9 @@ that are loaded by CAT-SOOP, including licensing information.
<td><a href="BASE/scripts/katex/contrib/render-a11y-string.js">render-a11y-string.js</a></td>
</tr>
<tr>
<td><a href="BASE/scripts/highlight/cs_highlight.pack.min.js">cs_highlight.pack.min.js</a></td>
<td><a href="BASE/scripts/highlight/highlight.min.js">highlight.min.js</a></td>
<td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td>
<td><a href="BASE/scripts/highlight/cs_highlight.pack.js">cs_highlight.pack.js</a></td>
<td><a href="BASE/scripts/highlight/highlight.js">highlight.js</a></td>
</tr>
<python>
for i in ace_files:


Loading…
Cancel
Save