Pages CMS

Code field

Code editor with syntax highlighting using Codemirror.

Options

Option Type Description
language string The language for syntax highlight, can be yaml, javascript json, html or markdown. Default is markdown.

Example

- name: body
  label: Body
  type: code
  options:
    language: html

On this page