Skip to content

Commit

Permalink
Merge pull request #1392 from likanzhan/patch-2
Browse files Browse the repository at this point in the history
Correct render code block with tag "```julia-repl XXX"
  • Loading branch information
mortenpi authored Aug 13, 2020
2 parents faace88 + b45deab commit b0163f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writers/LaTeXWriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ const LEXER = Set([
function latex(io::IO, code::Markdown.Code)
language = isempty(code.language) ? "none" : code.language
# the julia-repl is called "jlcon" in Pygments
language = (language == "julia-repl") ? "jlcon" : language
language = occursin(r"^julia-repl\b", language) ? "jlcon" : language
escape = '' code.code
if language in LEXER
_print(io, "\n\\begin{minted}")
Expand Down

0 comments on commit b0163f8

Please sign in to comment.