How to interpolate multiple variables in a Markdown string in Julia

前端 未结 0 857
孤独总比滥情好
孤独总比滥情好 2021-01-28 12:07

In the following Julia 1.5 code:

a, b = 4, 5
"a=$(a), b=($b)" # "a=4, b=5"
using Markdown
md"a=$(a), b=($b)" # a=a, b=b
# but...
Mar         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题