1. Home
  2. Docs
  3. Docly Documentation
  4. Code Syntax Highlight
  5. Code Default Theme

Code Default Theme

Inline code

Wrap inline snippets of code with<code>. Be sure to escape HTML angle brackets.

For example, <section>should be wrapped as inline.

Code blocks

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.

CSS Code

JavaScript Code

Was this article helpful to you? Yes 4 No 1

How can we help?