-
Notifications
You must be signed in to change notification settings - Fork 4
Edit codeblock
Falcion edited this page Nov 8, 2024
·
3 revisions
The "Edit Codeblock" modal can be invoked by right-clicking inside a fenced block (or "codeblock" defined by ```). This opens a "mini-editor" page using the code editor module^1, allowing users to work on and edit the codeblock outside of the limited "markdown" view and confined spaces, instead providing a full code editor experience.
- For more details on the code editor features of this modal, see: code editor in UNITADE.
To close the codeblock editor, press Escape
. All changes save automatically, and
if the codeblock is empty, it will not be deleted.
Preview:
Note
To apply syntax highlighting, specify the language in the opening fences, just like in standard Markdown.