Tips on Using Rich Text Editor / Code Editor / Markdown Editor

Keeping track of tips / Keyboard shortcuts for Lexcial Editor, Code Editor, and Markdown editor. Should also give tips on how to best use the article builder.

Date Created:
Last Edited:
Rich Text Editor Tips


Lexical Keyboard Shortcuts
Lexical Keyboard Shortcuts:
Keyboard Shortcut: Effect: Additional Info:
Format Text Commands
CTRL + B Bold Text N/A
CTRL + I Italicize Text N/A
CTRL + U Underline Text N/A
Alt+T+CInline CodeN/A
Alt+T+QInline QuoteN/A
Alt+T+SStrokethrough TextN/A
Alt+T+TClear Text FormattingN/A
Alt+T+BSubscript TextN/A
Alt+T+PSuperscript TextN/A
Alt+S+CCaption Size TextSet the CSS font-size property
Alt+S+VBody2 Size Text
Alt+S+BBody2 Size Text
Alt+S+6h6 Size Text
Alt+S+5h5 Size Text
Alt+S+4h4 Size Text
Alt+S+3h3 Size Text
Alt+S+2h2 Size Text
Alt+S+1h1 Size Text
Alt+S+IInherit Text Size
Alt+W+1Font Weight: 100Set the CSS font-weight property
Alt+W+2Font Weight: 200
Alt+W+3Font Weight: 300
Alt+W+4Font Weight: 400
Alt+W+5Font Weight: 500
Alt+W+6Font Weight: 600
Alt+W+7Font Weight: 700
Alt+W+IInherit Font Weight
Alt+A+LAlign Content LeftAlign Block Level Content. Affects the CSS text-align property
Alt+A+CAlign Content Center
Alt+A+RAlign Content Right
Alt+A+JAlign Content Justify
Insert Content
Shift + Enter New Line N/A
Enter New Paragraph N/A
Convert Content
Alt+P Convert the current heading node to paragraph N/A
Alt+H+1 Convert the current heading node / paragraph node to

element

N/A
Alt+H+2 Convert the current heading node / paragraph node to

element

N/A
Alt+H+3 Convert the current heading node / paragraph node to

element

N/A
Alt+H+4 Convert the current heading node / paragraph node to

element

N/A
Alt+H+5 Convert the current heading node / paragraph node to
element
N/A
Alt+H+6 Convert the current heading node / paragraph node to
element
N/A
History Commands
Ctrl+Z Undo command N/A
Ctrl+Y Redo command N/A
Rich Text Editor Icons to Functionality
Rich Text Editor Functionality
Icon: Purpose:
Insert Header Element <h1> through <h6> or paragraph
Change background color of selected text
Change text color of selected text
Change the background color, default text color, border, outline, and box shadow of the selected paragraph, heading, or list element.
Undo
Redo
Clear Editor
Newline
Indent Content
Outdent Content
Bold Text
Italicize Text
Strikethrough Text
Underline Content
Clear text formatting. Clears bold, italics, strikethrough, and underline from selected text.
Left Align Block Content
Center Align Block Content
Right Align Block Content
Justify Align Block Content
Superscript Text
Subscript Text
Add Image(s)
Add Audio
Add Video
Add Gif
Text To Speech
Add YouTube or News Content
Add Quote (Blockquote or Inline Quote)
Add List
Add Aside
Add details element
Add Code Content
Add Math Content
Add Table
Add Horizontal Rule
Add Paragraph at End of Editor
Download Lexical State
Upload Lexical State
Code Editor Tips

Hold down the

This is a reference from the code mirror website for how to include line-wrapping via CSS - if you choose to.




Code Editor Keyboard Shortcuts
Code Editor Keyboard Shortcuts:
Keyboard Shortcut: Effect: Additional Info: Operating Systems*:
vsCode Keymap
Enter Expand Emmet abbreviation. N/A All
Ctrl+/ Toggle Comment Toggle Comment. Behavior can be seen on the Emmetio website. All
Shift+Ctrl+Y** Emmet Evaluate Math Evaluate math. Behavior can be seen on the Emmetio website. All
Ctrl+Alt+ArrowRight Go To Next Edit Point Go to next edit point. Behavior can be seen on the Emmetio website. All
Ctrl+Alt+ArrowLeft Go To Previous Edit Point
Ctrl+T Go To Tag Pair Go to matching tag. Allows you to quickly traverse between opening and closing tag. Behavior can be seen on the Emmetio website. All
Ctrl+K Remove Tag Allows you to quickly remove tag. Behavior can be seen on the Emmetio website. All
Shift+Ctrl+. Select Next Item Allows you to traverse important code elements quickly. Behavior can be seen on the Emmetio website. All
Shift+Ctrl+, Select Previous Item
Ctrl+ArrowDown Decrement Number .01 Allows you to decrement / increment number .01, 1, or 1. Behavior can be seen on the Emmetio website. All
Ctrl+ArrowUp Increment Number .01
Ctrl+Alt+ArrowDown Decrement Number 1
Ctrl+Alt+ArrowUp Increment Number 1
Shift+Ctrl+ArrowDown Decrement Number 10
Shift+Ctrl+ArrowUp Increment Number 10
Default Keymap
Ctrl-ArrowLeft Cursor Syntx Left Move the cursor over to the next syntactc element to the left macOS
Alt-ArrowLeft windows, linux
Ctrl-ArrowRight Cursor Syntax Right Move the cursor over to the next syntactic element to the right macOS
Alt-ArrowRight windows, linux
Alt-ArrowUp Move Line Up Move the selected lines up one line All
Alt-ArrowDown Move Line Down Move the selected lines down one line. All
Shift-Alt-ArrowUp copyLineUp Create a copy of the selected lines. Keep the selection in the top copy. All
Shift-Alt-ArrowDown Copy Line Down Move the selected lines down one line. All
Escape Simplify Selection Simplify the current selection. All
Cmd-Enter Insert Blank Line Create a blank, indented line below the current line. macOS
Ctrl-Enter windows, linux
Ctrl-L Select Line Exapnd the selection to cover entire lines. macOS
Alt-L windows, linux
Cmd-I Select Parent Syntax Select the next syntactic construct that is larger than the selection. macOS
Ctrl-I windows, linux
Cmd-[ Indent Less Remove a unit of indentation from all selected lines. macOS
Ctrl-[ windows, linux
Cmd-] Indent More Add a unit of indentation from all selected lines. macOS
Ctrl-] windows, linux
Cmd-Alt- Indent Selection Auto-indent the selected lines. macOS
Ctrl-Alt- windows, linux
Shift-Cmd-K Delete Line Delete selected lines. macOS
Shift-Ctrl-K windows, linux
Shift-Cmd-\ Cursor Matching Bracket Move the selection the bracket matching the one it is currently on, if any. macOS
Shift-Ctrl-\ windows, linux
Shift-Alt-A Toggle Block Comment Toggle or uncomment the lines around the current selection using block comments. All
History keymap
Ctrl-Z undo Undo a single group of history events. All
Ctrl-Shift-Z redo Redo a group of history events. macOS
Ctrl-Y redo windows, linux
Ctrl-U Undo Selection Undo a change or selection change. All
Ctrl-Shift-U Redo Selection Redo a change or selection change. macOS
Alt-U windows, linux
Fold Keymap
Cmd-Alt-[ Fold Code Fold the lines that are selected, if possible. macOS
Ctrl-Shift-[ windows, linux
Cmd-Alt-] Unfold Code Unfold folded ranges on selected lines. macOS
Ctrl-Shift-] windows, linux
Ctrl-Alt-[ Fold All Fold all top-level foldable ranges. All
Ctrl-Alt-] Unfold All Unfold all folded code. All
AutoCompletion Keymap
Ctrl-Space Start Completion Explicity start autocompletion. All
Escape Close Completion Close the currently active completion. All
Enter Accept Completion Accept the current completion. All
Lint Keymap
Cmd-Shift-M Open Lint Panel Command to open and focus the lint panel. macOS
Ctrl-Shift-M windows, linux
F8 Next Diagnostic Move the selection to the next diagnostic. All
* - Operating system denotes whether a Keyboard Shortcut runs specifically on macOS, linux, or windows. If All is specified, then the Keyboard shortcut runs on all operating systems.
** - If a character A-Z is capitalized above, it does not mean that the letter needs to be capitalized when performing Keyboard Shortcut.
How HTML is Sanitized

There should be different sanitation processes for HTML based on the use of the HTML and whether or not the user is the owner of the website or not (or whether or not the user is a certain level of user).


Enter Markdown Here

Learn about the basics of Markdown on (markdownguide.org)[https://www.markdownguide.org/].

Comments

You must be logged in to post a comment!

Insert Math Markup

ESC
About Inserting Math Content
Display Style:

Embed News Content

ESC
About Embedding News Content

Embed Youtube Video

ESC
Embedding Youtube Videos

Embed TikTok Video

ESC
Embedding TikTok Videos

Embed X Post

ESC
Embedding X Posts

Embed Instagram Post

ESC
Embedding Instagram Posts

Insert Details Element

ESC

Example Output:

Summary Title
You will be able to insert content here after confirming the title of the <details> element.

Insert Table

ESC
Customization
Align:
Preview:

Insert Horizontal Rule

#000000

Preview:


Insert Chart

ESC

View Content At Different Sizes

ESC

Edit Style of Block Nodes

ESC

Edit the background color, default text color, margin, padding, and border of block nodes. Editable block nodes include paragraphs, headers, and lists.

#ffffff
#000000

Edit Selected Cells

Change the background color, vertical align, and borders of the cells in the current selection.

#ffffff
Vertical Align:
Border
#000000
Border Style:

Edit Table

ESC
Customization:
Align:

Upload Lexical State

ESC

Upload a .lexical file. If the file type matches the type of the current editor, then a preview will be shown below the file input.

Upload 3D Object

ESC

Upload Jupyter Notebook

ESC

Upload a Jupyter notebook and embed the resulting HTML in the text editor.

Insert Custom HTML

ESC

Edit Image Background Color

ESC
#ffffff

Insert Columns Layout

ESC
Column Type:

Select Code Language

ESC
Select Coding Language