A simple code editor in the browser.
The Source Editor is used to make edits within CloudCannon on any text-based file. It is available to the owner and developers of the site.
To change the appearance and behaviour of the Source Editor, add some or all of the following options to your site’s config:
Optional, defaults to 4.
Controls how many spaces lines are auto indented.
Must match one from themes (optional, defaults to monokai).
Controls the appearance of the editor.
Optional, defaults to true.
Toggles line numbers and code folding controls.
Below are all other available themes: