1

Pluto.jl is very nice. However, I have a small problem that I could not solve by myself. Please have a look at the problem through this nWME (not Working, but Minimal Example to explain the situation)

Cell 1: varname = "a";
Cell 2: md"If I use: The variable is $varname, then I could not have the same math character as when I use: The variable is $a$."

How can I display a string (e.g, varname) in math mode in the Markdown in Pulto.jl? Here is what I tried:

Cell 3: md"The variable name is ``$varname``"

but the result is not as expected.

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
Chris
  • 93
  • 6

0 Answers0