Sphinx, reStructuredText show\hide code snippets
Posted
by Adam Matan
on Stack Overflow
See other posts from Stack Overflow
or by Adam Matan
Published on 2010-03-16T13:19:47Z
Indexed on
2010/04/01
22:53 UTC
Read the original article
Hit count: 544
Hi,
I've been documenting a software package using Sphinx and reStructuredText.
Within my documents, there are some long code snippets. I want to be able to have them hidden as default, with a little "Show\Hide" button that would expand them (Example).
Is there a standard way to do that? If not, I think I will suggest this feature to the developers.
Thanks,
Adam
© Stack Overflow or respective owner