We design Docy for the readers, optimizing not for page views or engagement
Docy child
Wrap inline snippets of code with<code>
. Be sure to escape HTML angle brackets.
<section>
should be wrapped as inline.Use <pre>
s for multiple lines of code. Once again, be sure to escape any angle brackets in the code for proper rendering. You may optionally add the .pre-scrollable
class, which will set a max-height of 350px and provide a y-axis scrollbar.