Issue #41 (More Markdown Features)02/01/23
|
Get a weekly dose of tools, articles, and other resources covering remote work, productivity, career well-being, and lots more.
|
|
|
Let's consider a few more Markdown-related features that are available in VS Code.
As you may already know, if you copy and paste a file from a native OS folder into any file you're editing that's not Markdown, it will paste the file name at the location of the cursor. For Markdown, however, you can
enable the ability to paste image files into Markdown syntax instantly.
In your VS Code settings, search for "Markdown" then find the setting called "Paste Links: Enabled", then check the box. In addition, in your general editor settings, you'll have to enable "Paste Actions" (which you can reference directly from the Markdown setting, as shown below).
If you're editing a Markdown document with the Markdown preview window open, you might temporarily switch to edit another file. The Markdown preview stays open though. If you want to quickly switch back to editing the Markdown file you can
double-click anywhere on the preview window (but not on a link) and VS Code's editor window will focus inside the Markdown file once again.
You can disable the double-click feature in your settings if you want. And usefully, the editor will place the cursor inside the editor on the exact line where you clicked in the preview window.
Markdown documents don't require specific typography settings when previewing. Thus, you have the option to adjust how the Markdown preview displays text by adjusting the font family, font size, and line height.
By default the "Mark Editor Selection" setting is enabled. This will display a visual indicator in the preview window of what text is currently being edited in the editor window, so you can use this as a visual navigation cue as you're comparing what you edit and what you see in the preview.
There's still lots more I can cover in the area of Markdown editing in VS Code, so be sure to check out the settings and the VS Code docs for more productivity enhancements and other useful features for editing Markdown documents.