Pluto.jl: Variable not interpolated if in markdown table

Created on 9 Jul 2020  路  5Comments  路  Source: fonsp/Pluto.jl

Here is a MWE of what I mean:
Screen Shot 2020-07-09 at 2 38 02 pm
Once x is defined, it is correctly showing up in markdown text (e.g., md"$x"), but it is not interpolated inside a markdown table.

Most helpful comment

FYI this works on Julia master now: https://github.com/JuliaLang/julia/pull/37130

All 5 comments

This probably is a problem of the Markdown module of Julia itself since it also doesn't work in the REPL.

There already seems to be an open issue for it at https://github.com/JuliaLang/julia/issues/16194#issuecomment-615501656

I guess the same issue for list, because

md"""
* y1 = $(y1[])
* lx1 = $(lx1[])
* k1 = $(k1[])
* s1 = $(s1[])
"""

is rendered to

* y1 = :(y1[])
* lx1 = :(lx1[])
* k1 = :(k1[])
* s1 = :(s1[])

in Pluto.

Yes, this is unfortunate. You could give this GitHub issue a thumbs up:
https://github.com/JuliaLang/julia/issues/16194#issue-152992087

FYI this works on Julia master now: https://github.com/JuliaLang/julia/pull/37130

Wow!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fonsp picture fonsp  路  4Comments

MikaelSlevinsky picture MikaelSlevinsky  路  5Comments

mossr picture mossr  路  6Comments

MikaelSlevinsky picture MikaelSlevinsky  路  6Comments

fonsp picture fonsp  路  5Comments