Skip to content

Commit 3018dd7

Browse files
authored
Merge pull request #63 from choldgraf/docs
adding python ocde blocks to docs
2 parents 8133d8e + e7b70fb commit 3018dd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ excluding the prompts and outputs.
114114
To define the prompt text that you'd like removed from copied text in your code
115115
blocks, use the following configuration value in your ``conf.py`` file:
116116

117-
.. code-block::
117+
.. code-block:: python
118118
119119
copybutton_prompt_text = "myinputprompt"
120120
@@ -127,7 +127,7 @@ the cell will be copied.
127127
For example, to exclude traditional Python prompts from your copied code,
128128
use the following configuration:
129129

130-
.. code-block::
130+
.. code-block:: python
131131
132132
copybutton_prompt_text = ">>> "
133133

0 commit comments

Comments
 (0)