Skip to content

2.9

Compare
Choose a tag to compare
@RickStrahl RickStrahl released this 02 May 18:18
· 100 commits to main since this release

download Web Site

  • Multi-Line Markup for Inline Elements
    You can now select multiple lines of inline elements - bold, italic, strikethrough, underline etc. - and apply it to multiple lines. (#1003)

  • Multi-Line Markup for Soft Returns
    You can now select multiple lines and apply Soft Returns to all the lines in the selection which makes it easier to work with list text that doesn't use bullets. (#1003)

  • Easier Html Exports with a new Export Dialog
    Html Exports from your markdown are now easier with a dedicated dialog that lets you select the type of Html export (raw fragment, self-contained Html document, folder assets, zip file). This makes the export a lot less cryptic than previous Save File dialog that used only file types for 'hints' on functionality. (#1000)

  • Add Mermaid Markup ShortCuts and Command Palette
    You can now use the Extra Markdown dropdown and the Command Palette to wrap Mermaid diagrams automatically with the required Mermaid markup tags. You can wrap Mermaid code from the Clipboard or from the editor text selection. (#1018)

  • Add DarkMode to Emoji Picker
    Added dark mode operation to the Emoji picker and also bumped up the size of the individual emojis a bit.

  • Add Copy to Clipboard for Code Snippets to GitHub Preview
    The GitHub preview now has buttons on code snippets to copy code to clipboard when previewing or exporting as HTML.

  • New WebLog Post Option to post the New-Posts first
    For those of you that write a lot of blog posts or procrastinate with finishing posts, it can be useful to create new posts in the New Posts folder until the post is ready to be published. If the post is in New-Posts or Drafts folder, publishing will prompt you to optionally save the post in the WebLog post folder structure (postFolder/yyyy-MM/title-of-the-post). There's no obligation to use this of course and you can always move your posts to whatever location you like.

  • Re-enable Shell Drag and Drop for Images and Markdown Documents
    You can now once again drag images and Markdown documents into the editor from Explorer or other shell explorers. Files can only be dropped at the currently selected cursor location - the location cannot be changed with the drag cursor unfortunately. This feature was temporarily disabled as the new WebView uses a completely different mechanism for file dropping.

  • Embedded Document TOC now preserves header Markup (bold, italic, code etc.)
    When you embed a TOC into the document, any markup in extracted headers is preserved. So the TOC now includes inline bold, italic, and code text to match the original headers.

  • Show Diff Editor for Crash Backup files when Opening Files
    If AutoSaveBackups is enabled MM creates a backup file of the open document that is removed when the document is saved or closed. If the file is around when the document is opened MM likely crashed and lost some changes. If the backup file is found, MM will now open a Diff editor if configured and also position the folder browser on the back up file.

  • Add a Show All Files Button to the Folder Browser
    The Folder Browser now has a button that shows all files that ignores the file and folder ignore list. This lets you see back up files (if enabled), git and editor files and more as well as any custom ignored files you've added.

  • Change: Unlabeled fenced Code Blocks render as Text
    Code blocks that don't have an explicit language specified (ie. ``` instead of ```csharp) now render as plain text instead of attempting to auto-detect language. Auto-detection often would pick the wrong language as it can be very ambiguous and GitHub also renders as plain text. (#1001)

  • Fix: Preview Link Navigation
    Fix regression bug related to async processing which caused navigation to external links to navigate the browser and lose the preview document. Fixed. Also refactored the document processing pipeline for opening documents from the previewer to fix previous lockups in that process and navigation to specific lines in the editor after opening.

  • Fix: Random Application Crashes
    Fix a problem with random crashes related to dialogs opening in an invalid Task context and Alt menu activation in some instances causing crashes. Both operations are related to a recent bug introduced in the WebView and code getting triggered that fails at the system level. Fixed by properly handling the Task environment for these operations, so that the WebView code that triggers these errors is not actually invoked.

  • Fix: Alt Menu Activation
    Alt Menu activation for the Window menu was not working and often crashing the application due to a change in the underlying WebView2 control. Fixed menu activation logic.
    Note: Alt menu activation from within the editor tends to need an extra character to activate the menu for navigation (ie. to activate the Window menu alt-alt-w or alt-w-w get you there instead of alt-w).

  • Fix: Automatic File Backup not Working
    Fixed issue where Auto file back was not correctly saving the backup file in the same location as the base document. Fixed. Related Fix: Added support to Show all Files in Folder browser that lets you see the backup files in the Folder browser.

  • Fix: Change File Detection in Inactive Tabs
    Fix issue where inactive tabs that have underlying file changes and aren't dirty locally were not automatically updating from underlying file changes. Now an underlying file change will automatically update the document when the tab is activated.

  • Fix: PDF Links with Spaces or Extended Characters
    Fix an issue where PDF output was breaking links that were UrlEncoded due to spaces or extended characters in the link. Fixed by Url Decoding before rendering. (#1011)

  • Fix: Save as PDF Extra Page
    Fix issue where when you use the Print Dialog's Save to PDF generates a trailing blank page due to CSS styling. Fix CSS to remove extra page.

  • Fix Presentation Mode Scrolling and Sync
    Fix issue with presentation mode where the viewer was not scrolling properly in presentation mode. Fixed. Also fixed issue with the sync between the editor and the preview in presentation mode which now preserves the location when toggling between modes and keeps in sync in presentation mode. (#1019)

  • Fix: File System Drag and Drop into the Editor
    When the WebView was introduced file system drag and drop into the editor no longer worked. Files dropped would open in a browser window or open in the shell. This update supports various types of dropped files, from explorer by dropping them into the document at the current editor location (no support for moving the caret though). Browser links and images can now also be dropped and auto-link as links or remote images (use Copy Image for locally copying Web images).

  • Fix: Context Menu Oddities
    Fixed timing issue with context menus where menus were occasionally displaying the default Edge context menu instead of MMs native menu. Removed async call interface, and only applied to the spellcheck display now which improves menu popup speed and always bypasses the native menu. This was most notable with Table Editor functionality like Edit and Format Table.

  • Fix: Document Outline Sidebar with Bold and Italic Text
    Document outline incorrectly displayed inline bold and italic text as Markdig Inlines. Fixed. (#1013)

  • Fix: Startup Offscreen Positioning
    Changed logic used for MM startup detection of offscreen locations on the desktop, and moving the window into the visible Viewport if completely or mostly obscured. Previously, in some instances Windows were moved even if they were fully visible. (#998)

  • Fix: Format Table with Left and Center Alignment
    Fix issue where left and center alignment on Pipe tables was adding an extra space. (#1005)

  • Fix: Text Drag and Drop starting with # tag No longer drops as Link
    Fixed issue where dragging a text selection in the editor that starts with # would drop as a link expansion rather than plain text. The # now pastes as plain text as expected. (#1002)

  • Fix: Snippet Execution Fails with Dynamic C# Expressions/Code
    Fix bug with Snippets execution which include code snippets due to a removed reference.
    (#1027)