如何从演示中隐藏代码,而不是从推理器中隐藏代码?
How to hide code from presentation, but not from inferencer?
在FsReveal, is there a way to hide declarations from the slides presentation, but not from type inferencer?我希望 F# 片段能够正确编译并具有工具提示,但显示每一行并不重要。我没有在文档中看到这一点,但也许从它包含的一个项目中可以明显看出这一点?
谢谢!
我发现通过在带有 display: none
的内容周围放置 html 标签,我可以隐藏它。我不知道这是否(基本上)是最简单的方法。
(**
<div style="display: none">
*)
type IntList = Int list
(**
</div>
*)
let (t : IntList) = ...
在FsReveal, is there a way to hide declarations from the slides presentation, but not from type inferencer?我希望 F# 片段能够正确编译并具有工具提示,但显示每一行并不重要。我没有在文档中看到这一点,但也许从它包含的一个项目中可以明显看出这一点?
谢谢!
我发现通过在带有 display: none
的内容周围放置 html 标签,我可以隐藏它。我不知道这是否(基本上)是最简单的方法。
(**
<div style="display: none">
*)
type IntList = Int list
(**
</div>
*)
let (t : IntList) = ...