Collapsible code snippets in docs

Completed

Comments

2 comments

  • Sood, Akanksha

    Or alternately have a code repo for examples with complete pipe for each function syntax specified in docs. 

    And link available in the docs with explanations or usage- as it exists today!

    0
    Comment actions Permalink
  • Marie Beer Sangvig

    This is solved by using following code:

    .. raw:: html

    <details>
    <summary><a>big code</a></summary>

    .. code-block:: python

    lots_of_code = "this text block"

    .. raw:: html

    </details>

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.