tlienart / Xranklin.jl

Experimental repo for a refactoring of Franklin.jl
https://tlienart.github.io/Xranklin.jl
MIT License
40 stars 1 forks source link

#hide and #mock don't work in REPL mode #268

Closed gdalle closed 12 months ago

gdalle commented 1 year ago

at least I think so

tlienart commented 1 year ago

yes that's true, do you find it preferable to have that inside repl code block rather than have a hidden plain block before it?

```!
#hideall
x = 5
y = 7
z = x+y
gdalle commented 1 year ago

My use case was that I want to demonstrate instructions in the REPL that typically don't work on the blog itself because of paths. Something like

```>
do_stuff("here")  # mock
do_stuff(folderpath("here"))  # hide
gdalle commented 1 year ago

I'll do it with a standard code block, no worries