v2.6
June 30th, 2022
-
Drag and Drop Link Insertion from Document Outline into Editor
You can now drag a document outline selection into the open Markdown Document as a link that points at the#Hash
id in the document. (#936) -
Support for Async Code Snippet Templates
Code Snippets now supportawait
calls in C# expressions or code blocks. This is necessary for accessing many of theModel.ActiveEditor
methods that effect editor behavior (most commonlyawait Model.ActiveEditor.GetSelection()
). -
Support for Structured Statements in Code Snippet Templates
C# snippets now also support structured code blocks using{{% <statement> }}
that are directly embedded as code. This allows forif
andfor
type structured statement blocks that can bracket other text or expression. But it also allows for arbitrary C# code blocks to be executed and act as integrated code. -
Improved Snippet Startup Speed
With the new Roslyn integration which runs in-process, startup speed of first snippet activation is much improved even on a cold start. Additionally thePreloadCSharpCompiler
configuration flag in the Snippets addin can reduce startup speed down to a fractional second. -
Add Subscript and Superscript Markup Operations
Added sub and superscript to the Extra Markdown operation drop down menu which creates<sub></sub>
and<super></super>
wrappings around text selections. -
Keybindings for Numbered List and CheckBox List
Added keybindings for number list (ctrl-shift-l
) and checkbox list (ctrl-alt-l
). -
Many Updated Command Palette Commands
Added many additional Commands to the Command Palette including many more markup operations, a number of toggle settings, and view options. -
Add ShortCut Keys to the Web Lookup links in Link Dialog
The link dialog now has shortcut keys for theSearch on Web
(alt-s) andSearch and Link
(alt-l) buttons in the Link Dialog to allow for better hands free operation of these two operations. -
Add Preview And Sidebar Width to Window Presets
The Sidebar Window drop down now allows for setting the preview and sidebar panel widths in addition to a Window size. -
Update Ace Editor to v1.5
Updated to latest Ace Editor version (1.5.1). Several small additional tweaks to the markdown editor behavior for the editor. -
Fix: Format PipeTable with Line Breaks in Header
Fix issue where line breaks (via<br>
) in Pipe Table headers was breaking the formatter and resulted in not being able to format the table or edit it in the Table editor. The change now formates based on the full single line instead of the individual line lengths which - assuming the table width is not too wide - will still nicely format a table even with linebreaks. (#959) -
Fix: GridTable with leading Spaces in multi-line Cells
Fix issue where multi-line cells in a grid table would strip leading spaces resulting in potentially lost markdown formatting. (#961) -
Fix: GridTable white space issues
Fix issue where white space is is not cleaned up properly when deleting lines from a cell in a gridtable.
(#962) -
Fix: Preview not rendering first Mermaid Diagram
Fixed issue where entering a first Mermaid diagram into a page will not render until the page or tab is fully refreshed. This is due to the way MM caches the page and only replaces content, so when Mermaid is added after the page is loaded the script was not available to transform Mermaid charts. Added logic to explicitly check for Mermaid script and refresh page if not found. (#960) -
Fix: Display full Git Error Messages for Commit and Push Operations
Change display of error messages so the full message is displayed instead of the status bar only message which is often truncated. Display a message box instead so the full error can be captured. Important due to the new Git Securitysafe.directory
features that require (git config --global --add safe.directory <path>
)