mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
added js as an extra highlighted language (#646)
This commit is contained in:
parent
9f7a106834
commit
b094fe1de6
3 changed files with 4 additions and 2 deletions
|
@ -230,7 +230,7 @@ https://asciinema.org/a/117928
|
|||
{%pdf https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf %}
|
||||
|
||||
## Code highlighting
|
||||
\`\`\`javascript=
|
||||
\`\`\`js=
|
||||
var s = "JavaScript syntax highlighting";
|
||||
alert(s);
|
||||
function $initHighlight(block, cls) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue