Markdown
In addition to the standard gfm syntax, Doom has built-in some extra Markdown extension features.
TOC
Callouts
Source code annotation components
Note
- Please use inline code comments according to the actual language, such as
;,%,#,//,/** */,--, and<!-- -->, etc. - If you want to treat them as code comments, please escape them with
[\!code callout]. - Sometimes,
:::calloutsmay display abnormally due to nested indentation; you can use<div class="doom-callouts">or the<Callouts>component instead.
- Required for the processes that run in the
virt-launcherpod. - Number of virtual CPUs requested by the virtual machine.
- Number of virtual graphics cards requested by the virtual machine.
- Additional memory overhead:
- If your environment includes a Single Root I/O Virtualization (SR-IOV) network device or a Graphics Processing Unit (GPU), allocate 1 GiB additional memory overhead for each device.
- If Secure Encrypted Virtualization (SEV) is enabled, add 256 MiB.
- If Trusted Platform Module (TPM) is enabled, add 53 MiB.
For more source code transformation features, please refer to Shiki Transformers.
Mermaid
Chart drawing tool
With Markdown Preview Mermaid, you can preview in real time in VSCode.