Changes to the link detection:
For a long time now, Zettlr would (sometimes aggressively so) detect plain links and display them in a rendered state. In some cases, this was nice as it would relieve you from having to surround such links with pointy or angled brackets.
However, especially in the latest evolution of this parser plugin, the link detection was a bit too aggressive and interfered, e.g., with emphasis highlighting. In this version, we have entirely removed our custom link detection and rely upon the more straight-forward way of detecting links.
Regarding your exporting experience, this should not have any impact, since the auto-link-detection feature wasn't supported by Pandoc anyhow, but depending on how you have been writing, you may notice less detected links in your documents.
To add "plain" links (without using the full []()-syntax) from now on, simply surround them with angled brackets: <https://www.google.com> or <mail@example.com>. Note that the protocol (https://) is required, so <
www.google.com> will not work.
This changes brings Zettlr's link functionality much more into alignment with other editors as well, since this is the way that many other applications handle links as well.
Introducing Wikilink Titles:
This update brings a long-awaited change to Zettlr's handling of internal links (sometimes called Wikilinks). Specifically, with this version, Zettlr finally supports optional titles in such links. Your old links in the format [[link]] still work fine, but now you can add a title that is different from the link, separated by a pipe, or vertical bar character (|).
If such a title is given, Zettlr will use it in various ways to make your files more readable. For example, if you have the link renderer activated in the settings, it will take care of hiding the link target of Wikilinks as well as those of regular Markdown links.
Since there is no way of knowing which of the two parts is the link, and which is the title, Zettlr follows Pandoc's solution in allowing you to specify how internal links are structured for you. The default and recommended setting is to put links first, and titles second ([[link|title]]). This ensure compatibility with VimWiki, MediaWiki, Obsidian, and others. However, should you need to
target GitHub wiki pages or another application that expects a title to come first, you can select the alternative option ([[title|link]]).
In order to make Pandoc aware of your choice, you can add one of the following reader extensions to your export profiles: wikilinks_title_after_pipe or wikilinks_title_before_pipe.
Lastly, due to this improvement, we have changed the default setting for "link with filename" from "always" to "never", since it will be more ergonomic to use a custom link title directly instead of having the filename pop up after the
link. This default setting applies to new installations; so you may consider to change this setting manually yourself as well.
Re-enabling old Link-Title-Syntax:
After the release of Zettlr v3.0.0, some users have complained that their internal links have stopped working. It turns out that quite a lot were using Logseq's syntax for adding titles to internal links ([Title]([[Link]])), which we broke during a refactor of the Markdown parser. This update partially restores this link functionality, allowing you to Cmd/Ctrl-Click them to
follow these links again.
Note that we have not yet implemented the functionality of auto-renaming files or showing tooltips on these links.
GUI and Functionality:
Feature: Zettlr now supports titles in internal (wiki) links; the defaultsetting instructs the parser to expect first the link, and then the title ([[link|title]]), which ensures compatibility to, e.g., VimWiki, MediaWiki, or Obsidian, whereas the alternative setting ([[title|link]]) is compatible to GitHub wiki syntax. Remember that you need to enable the corresponding option on the Pandoc Markdown reader (wikilinks_title_after_pipe or wikilinks_title_before_pipe, respectively) if you wish to export files with this option
Feature: Zettlr can now suggest you emojis during autocompletion. Emojis use the same trigger character as the snippets autocomplete, a colon (
; and Emojis will always be sorted below your snippets -- you can turn this off in the editor settings
Feature: We've completely redesigned the preferences dialog; now it is more aligned with the system preferences on macOS and Windows, allows searching and follows a more stringent structure
Removed the option for choosing to sort by either file creation or last modification time, since that can also be inferred from whichever time you choose to display
Feature: The assets manager now provides buttons to open the defaults and snippets directories directly from within the app
Removed the option for activating or disabling automatic file creation upon following internal links; now this will happen automatically as long as the "custom folder" option points to an existing folder; to disable this functionality simply remove the folder path
Fixed a bug where recent documents would not turn up in the menu
Fixed the sidebar shortcut: It is now Cmd/Ctrl+Shift+0 (to align with the file manager shortcut, Cmd/Ctrl+Shift+1)
Custom protocols should now be opened without problems by Zettlr (#3853)
Added Tamil (India) translation (#4848)
Removed the custom plain link parser out of two reasons: (1) It was a tad too aggressive, detecting links even where none were wanted; (2) Pandoc doesn't support auto-links in such a way as we have implemented it, leading to inconsistencies in exports
The YAML frontmatter is now ignored for the purposes of previewing files, showing a more meaningful preview of its contents (#4598)
Improve pasting behavior: Now text from Microsoft Word or Excel will be pasted as text, instead of offering to insert an image of the selection
Fix pasting behavior: Now Zettlr should properly paste most formatted text without too much noise (in the form of comments, styles, and other additions)
Fix restart-dialog showing multiple times for the same options (#4768)
Fix the active typewriter line background color in dark mode
Fixed an issue where gutter markers were not equally offset when typewriter mode was active (#4918)
Fixed non-working file deletion menu item (#3894)