Skip to content

Commit

Permalink
Merge pull request #19 from qlux/master
Browse files Browse the repository at this point in the history
Streamline <pre> code block
  • Loading branch information
sbrunner authored Apr 3, 2019
2 parents e13ebbc + 742bb58 commit 92b8632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx-prompt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def run(self):
if 'auto' in modifiers:
prompts = prompt.split(',')

html = '<pre class="highlight">'
html = '<div class="highlight-default notranslate"><div class="highlight"><pre>'
styles = ''
if 'auto' in modifiers:
for prompt in prompts:
Expand Down Expand Up @@ -150,7 +150,7 @@ def run(self):
else:
latex += '\n' + line

html += "</pre>"
html += "</pre></div></div>"
latex += "\n\\end{Verbatim}"

return [
Expand Down

0 comments on commit 92b8632

Please sign in to comment.