-
Notifications
You must be signed in to change notification settings - Fork 1
Code
cibboy edited this page Sep 3, 2018
·
2 revisions
Code blocks are rendered with a monospace font, dedicated margins and a lateral bar to better encase them. The lateral bar changes color on code hover.
Special tag kbd is to be used for inline code, and it renders with the same font as code blocks.
-
codeandsampletags are used to show code blocks. They are rendered the same way, as described above. White space is treated like inpretags with line wraps to avoid overflow (in css terms,white-sapce: pre-wrap;).<code> Code </code>
<sample> Code </sample>
-
Inline code is rendered through the use of
kbdtag.<p>This paragraph shows some <kbd>inline code</kbd></p>