How to hide code input in RST files #488
-
Hi, I'm trying to convert my sphinx rst RTD theme to the sphinx book theme. I am stuck with RST then. My question is: how do I convert the following markdown directive:
into valid rst syntax? I tried:
But the tag isn't recognized. Furthermore, I wondered why my outputs look like this: While the code snippets on your doc look so pretty (no ipython prompts 🤩) : Is there any way to reach the same while staying in rst? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
No these only work with markdown, since the document is first converted to a jupyter notebook (unless you added a custom converter) |
Beta Was this translation helpful? Give feedback.
-
@fmaussion glad If you ever wanted to migrate your |
Beta Was this translation helpful? Give feedback.
No these only work with markdown, since the document is first converted to a jupyter notebook (unless you added a custom converter)