Skip to main content

Obsidian + VS Code

Extension - Foam

https://foambubble.github.io/foam

Foam | Recipes

Commands

  • Foam: Show Graph
  • Paste URL (Command + Shift + V)

Extension - Markdown All in One

https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one

Available Commands

  • Markdown All in One: Create Table of Contents
  • Markdown All in One: Update Table of Contents
  • Markdown All in One: Add/Update section numbers
  • Markdown All in One: Remove section numbers
  • Markdown All in One: Toggle code span
  • Markdown All in One: Toggle code block
  • Markdown All in One: Print current document to HTML
  • Markdown All in One: Print documents to HTML
  • Markdown All in One: Toggle math environment
  • Markdown All in One: Toggle list
    • It will cycle through list markers (by default -, *, +, 1. and 1), which can be changed with option list.toggle.candidate-markers).

Shortcuts

KeyCommand
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>B</kbd>Toggle bold
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>I</kbd>Toggle italic
<kbd>Alt</kbd>+<kbd>S</kbd> (on Windows)Toggle strikethrough<sup>1</sup>
<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>]</kbd>Toggle heading (uplevel)
<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>[</kbd>Toggle heading (downlevel)
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>M</kbd>Toggle math environment
<kbd>Alt</kbd> + <kbd>C</kbd>Check/Uncheck task list item
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>V</kbd>Toggle preview
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>K</kbd> <kbd>V</kbd>Toggle preview to side

<sup>1. If the cursor is on a list/task item without selection, strikethrough will be added to the whole item (line)</sup>

Other Extensions

Markdown shortcuts in VSCode