Skip to content

Commit

Permalink
Merge pull request #63 from choldgraf/docs
Browse files Browse the repository at this point in the history
adding python ocde blocks to docs
  • Loading branch information
choldgraf committed Feb 6, 2020
2 parents 8133d8e + e7b70fb commit 3018dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ excluding the prompts and outputs.
To define the prompt text that you'd like removed from copied text in your code
blocks, use the following configuration value in your ``conf.py`` file:

.. code-block::
.. code-block:: python
copybutton_prompt_text = "myinputprompt"
Expand All @@ -127,7 +127,7 @@ the cell will be copied.
For example, to exclude traditional Python prompts from your copied code,
use the following configuration:

.. code-block::
.. code-block:: python
copybutton_prompt_text = ">>> "
Expand Down

0 comments on commit 3018dd7

Please sign in to comment.