Skip to content

Commit

Permalink
ENH: Use unstyled pygments for code output (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored and lesteve committed May 31, 2018
1 parent b61ed7a commit 4dd2df0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sphinx_gallery/gen_rst.py
Expand Up @@ -174,7 +174,9 @@ def write(self, data):
# This one could contain unicode
CODE_OUTPUT = u""".. rst-class:: sphx-glr-script-out
Out::
Out:
.. code-block:: none
{0}\n"""

Expand Down
2 changes: 1 addition & 1 deletion sphinx_gallery/tests/test_gen_rst.py
Expand Up @@ -235,7 +235,7 @@ def test_pattern_matching(gallery_conf, log_collector):

gallery_conf.update(filename_pattern=re.escape(os.sep) + 'plot_0')

code_output = ('\n Out::\n'
code_output = ('\n Out:\n\n .. code-block:: none\n'
'\n'
' Óscar output\n'
' log:Óscar\n'
Expand Down

0 comments on commit 4dd2df0

Please sign in to comment.