Hiding portions of examples in code blocks? #134
-
Sometimes there's verbose setup in examples: package main
import "fmt"
func main() {
fmt.Println("Execute code directly inside the slides")
} But this is a little verbose. It would be nice if slides could show: fmt.Println("Execute code directly inside the slides")
Is there something similar to RustDocs example hiding? Like annotating: # package main
#
# import "fmt"
#
# func main() {
fmt.Println("Execute code directly inside the slides")
# } |
Beta Was this translation helpful? Give feedback.
Answered by
maaslalani
Feb 6, 2022
Replies: 2 comments 4 replies
-
This is a fantastic idea! Thanks so much for suggesting the ability to hide verbose code. Let me know if you are interested in implementing this, I would happily accept a PR to do this, otherwise I can tackle it and let you know once it is implemented. |
Beta Was this translation helpful? Give feedback.
4 replies
-
See issue #135 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
maaslalani
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See issue #135