Open newptcai opened 3 years ago
hmm thanks for the report, can you comment out the @def tags
line and try again to confirm that it works without tags? I'll investigate why the tags specifically make the literate page fail.
Yes, it is the problem of tag. Removing it and everything works.
BTW, is there anyway to hide the code and only keep outputs?
yes put #hideall
in the code blocks you want to hide
So in the case of a literate file you'll need to add this multiple times:
# #A test
#hideall
r = 3+3
print(r)
# some text here
#hideall
r = 5 * 4
print(r)
# some more text
PS: I guess we could provide a page-wide "hide everything", I just hadn't had the need for it yet but this could be done if you don't like the multiple "hide all" from my previous comment
A "hide all" would be indeed useful. I just want to show some pictures in a blog post, not the code.
I am trying to run a quite simple Literate.jl script.
Here's my markdown file
But I get the following error
I am using Julia 1.5.4 with the following version of Franklin