Documentation
Blocks

Code Block

Code blocks in Authorly provide syntax highlighting, line numbers, and copy functionality out of the box. Perfect for technical documentation, tutorials, and any content that includes code snippets.

Interactive Demo

Try the editor below to see this block type in action. Switch between Editor, Preview, and HTML views.

Was this helpful?

Your feedback helps us create better documentation