Skip to content

Commit

Permalink
Wrap code in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
betaveros committed Dec 28, 2018
1 parent 1097678 commit b060c8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paradoc/docgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@
h3 a { text-decoration: none; }
pre { border: 1px solid #ac9; background-color: #eeffcc; padding: 0.2em; }
code.char { font-size: 75%; border: 1px dotted black; background: #ccc; }
pre, code { white-space: pre-wrap; overflow-wrap: break-word; }
pre.ex::before, pre.exs::before { font-size: 75%; font-family: sans-serif; }
pre.ex::before { content: "Example: "; }
pre.exs::before { content: "Examples: "; display: block; }
Expand Down

0 comments on commit b060c8b

Please sign in to comment.