Pinfig supports Markdown and additional features.
You can learn more about the text editor tool in Pinfig.
You can apply markdown formatting using the editor's floating menu, which appears when you select text in the editor.
Here is a quick summary of what you can do with markdown.
Add a heading using # followed by a space. You can use different levels: ##, ###, ####, #####, ######.
You use commands (“/”) as well.
Add bold formatting by wrapping text between two asterisks (**) or two underscores (__).
Or use the hotkeys: mod+b
Or use the floating menu.
Add italic formatting by wrapping text between one asterisk (*) or one underscore (_).
Or use the hotkeys: mod+i
Or use the floating menu.
Underline is supported using the text's floating menu.
Add a list by typing a dash (-) at the beginning of a line or use the command "/bul".
Press the "Tab" key to nest list items.
Item 1
Item 2
Add an ordered list by typing a 1. at the beginning of a line, followed by pressing the "Space" key, or use the command "/num".
Press the "Tab" key to nest list items.
Add a checklist by typing a [] at the beginning of a line, followed by pressing the "Space" key, or use the command "/num".
Press the "Tab" key to nest list items.
Add a horizontal line ---
or ***
Add inline code
by wrapping a text between one backquote (`).
Markdown code blocks are supported with Syntax highlighting.
Type three backquotes and press Enter key.
function HelloPinfig() {
return (
<h1>Hello, Pinfig!</h1>
)
}