Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使打印语句在 Pluto.jl 中工作。现在,当我执行println它时,它会打印到控制台,使用PlutoUI扩展来使打印语句工作,但不在 for 循环中。有没有办法在 for 循环中打印到 Pluto.jl 笔记本?
println
PlutoUI
你可以with_terminal()这样使用:
with_terminal()
(代码是:
using PlutoUI with_terminal() do for i in 1:10 println("Hi, I'm $i") end end