Skip to content

Commit

Permalink
fix(julia-repl) aliases was not in correct object (#3432)
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Dec 22, 2021
1 parent 413425d commit c5ff49e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -42,6 +42,7 @@ Grammars:
- enh(clojure) Add `regex` mode to regex literal
- fix(clojure) Remove inconsistent/broken highlighting for metadata
- enh(clojure) Add `punctuation` mode for commas.
- fix(julia) Enable the `jldoctest` alias (#3432) [Fons van der Plas][]

Developer Tools:

Expand All @@ -61,6 +62,7 @@ Themes:
[Samia Ali]: https://github.com/samiaab1990
[Matthieu Lempereur]: https://github.com/MrYamous
[idleberg]: https://github.com/idleberg
[Fons van der Plas]: https://github.com/fonsp

## Version 11.3.1

Expand Down
16 changes: 8 additions & 8 deletions src/languages/julia-repl.js
Expand Up @@ -35,14 +35,14 @@ export default function(hljs) {
// least six spaces in the beginning
end: /^(?![ ]{6})/,
subLanguage: 'julia'
},
},
// jldoctest Markdown blocks are used in the Julia manual and package docs indicate
// code snippets that should be verified when the documentation is built. They can be
// either REPL-like or script-like, but are usually REPL-like and therefore we apply
// julia-repl highlighting to them. More information can be found in Documenter's
// manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html
aliases: ['jldoctest']
}
]
],
// jldoctest Markdown blocks are used in the Julia manual and package docs indicate
// code snippets that should be verified when the documentation is built. They can be
// either REPL-like or script-like, but are usually REPL-like and therefore we apply
// julia-repl highlighting to them. More information can be found in Documenter's
// manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html
aliases: ['jldoctest'],
}
}

0 comments on commit c5ff49e

Please sign in to comment.