You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm not sure if I identified the issue correctly, so the title might be misleading...
But here my problem, I have the following cell in my qmd file:
using Markdown
foo = "Some string"
md"$foo"
Which worked with the old IJulia based renderer and execuutes as expected in the REPL. However, if I try to render a report with QNR I get the following error:
Error 1 of 1
@ C:\...\...\test.qmd:11
Error showing value of type Markdown.MD
MethodError: no method matching latex(::IOContext{IOBuffer}, ::String)
Closest candidates are:
latex(::IO, ::Markdown.Paragraph)
@ Markdown C:\Users\...\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Markdown\src\render\latex.jl:48
latex(::IO, ::Markdown.Admonition)
@ Markdown C:\Users\...\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Markdown\src\render\latex.jl:69
latex(::IO, ::Markdown.HorizontalRule)
@ Markdown C:\Users\...\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Markdown\src\render\latex.jl:103
...
Stacktrace:
[1] latex(io::IOContext{IOBuffer}, content::Vector{Any})
@ Markdown C:\Users\...\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Markdown\src\render\latex.jl:23
[2] latex
@ Markdown C:\Users\...\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Markdown\src\render\latex.jl:19 [inlined]
[3] show(io::IOContext{IOBuffer}, ::MIME{Symbol("text/latex")}, md::Markdown.MD)
@ Markdown C:\Users\...\AppData\Local\Programs\Julia-1.10.0\share\julia\stdlib\v1.10\Markdown\src\render\latex.jl:174
[4] show(io::IOContext{IOBuffer}, m::String, x::Markdown.MD)
@ Base.Multimedia .\multimedia.jl:123
ERROR: Internal julia server error
Adding a leading blank like md" $foo", renders correctly.
I'm using Julia 1.10 and Quarto 1.5.40.
The text was updated successfully, but these errors were encountered:
There is nothing we can do directly in this package besides hacks around the issue. I'm going to close this one @sschmidhuber as unactionable. The place to fix this is in Markdown itself.
Hello,
I'm not sure if I identified the issue correctly, so the title might be misleading...
But here my problem, I have the following cell in my qmd file:
Which worked with the old IJulia based renderer and execuutes as expected in the REPL. However, if I try to render a report with QNR I get the following error:
Adding a leading blank like
md" $foo"
, renders correctly.I'm using Julia 1.10 and Quarto 1.5.40.
The text was updated successfully, but these errors were encountered: