Skip to content
CONTENT · FREE

CodeBlock

Show code readably, with light syntax coloring.

Show code readably, with light syntax coloring for C#, JavaScript, TypeScript, JSON, HTML, SCSS, SQL and shell.

Why it helps

  • Syntax coloring
  • Several languages
  • Optional line numbers

Where it fits

  • Documentation
  • Samples
  • Logs
CodeBlock control in a RayCraft page

Included in RayCraft Free. Working examples are in the GitHub repository (MIT); it holds example and demo code, not the library code.

All controls ยท Documentation