---
agent:
  instructions: "Use this search API to find the latest version, release notes and update steps of any Mac app, and pages on this site, with an app name, bundle ID or natural-language question, instead of crawling pages. Results are returned in Markdown."
  endpoint: "https://tryfresh.app/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Zettlr for Mac

The latest version of Zettlr for Mac is 4.11.0, released November 26, 2026. Open-source markdown editor.

## What's new in Zettlr 4.11.0

**Security Fixes | Quality of Life Improvements**

This update is mostly a maintenance update that improves Zettlr's security by addressing two recently mentioned advisories. Specifically, this update fully fixes the previously opened GHSA-qp9r-5xcv-35gx (arbitrary shell execution) and addresses GHSA-4c93-g77j-cx8w (potential for remote code execution). We personally believe that nobody was affected by this. But, in the spirit of "better safe than sorry" we addressed them as best as we could. Some more details below.

The only two important additions for this update to mention are, first, that Zettlr is now finally able to retrieve the accent color from supporting Linux desktop environments (such as KDE Plasma). Note that D-Bus access is required for this to work. Where this is not available, the app still falls back to Zettlr green. Second, after discovering some issues with the keyboard shortcuts in the editor, the shortcuts for comments have now been adjusted. Previously, both Cmd/Ctrl-Shift-C and Cmd/Ctrl-/ would allow the user to insert comments with slightly different behavior. The former shortcut was broken for many people, and this update restores it. However, to harmonize the intended use of both comment tools, we have changed the shortcut to Cmd/Ctrl-Alt-M, which is the default across many word processors to add a comment at the cursor position. Cmd/Ctrl-/ now reliably only toggles comments for all lines touched by selections, with no in-situ commenting.

Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Some Notes on GHSA-qp9r-5xcv-35gx and GHSA-4c93-g77j-cx8w**

Before the changelog below, some short notes of reassurance on these two security advisories. Strictly speaking they refer to security issues, but we have strong reasons to believe users should have been fine.

The fix for GHSA-qp9r-5xcv-35gx is a continuation from an earlier attempt at mitigating arbitrary shell execution. Basically, when you had a custom command configured, and used this to export either a project or a single file, the path to the project folder or file was provided to the command as-is. That means that, if the path contained valid shell commands, they would be executed and could potentially be used maliciously. In a first attempt to fix the issue, we merely quoted the paths, but that measure was easy to circumvent. This time around we implemented proper shell escaping so that regardless of the odd characters that may be in a path, they will not execute any shell commands. We went further: Not all custom commands actually need shell access, so by default, Zettlr 4.11 disables shell access for all commands. Should a command require a shell, you can manually activate it in the preferences, where you will now find an additional toggle next to each custom command.

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.11.0)), read 2026-11-26.

## How to update Zettlr on your Mac

- **With Homebrew.** If you installed Zettlr with Homebrew, run `brew upgrade --cask zettlr`.
- **From the developer.** Download the latest version from https://www.zettlr.com/ and install it over the old copy in your Applications folder.
- **With Fresh.** Fresh lives in your menu bar, spots when Zettlr and your other apps are out of date, and updates them all in one click. It's coming soon: https://tryfresh.app/#waitlist

## Zettlr version history

### 4.11.0 (Nov 26, 2026)

See What's new above.

### 4.10.0 (Nov 13, 2026)

**Quality of Life Improvements | Cleanup | Fixes**

This new update of Zettlr primarily fixes things that were either broken for some time, or broke in 4.9. However, it also includes a set of features and other improvements that will come in handy.

Among the most notable changes in this update are: (1) attachments specified in BibTeX or BibLaTeX libraries are properly opened via the context menu in Zettlr; (2) Mermaid diagrams will render again; (3) keywords and tags in YAML frontmatters are clickable again; (4) we fixed a bunch of shortcuts that stopped working after the custom shortcut update; (5) the LanguageTool linter now additionally checks various text-fields in your frontmatters; and (6) we have begun homogenizing Zettlr's UI across all platforms. macOS-users should not see many differences, but on Windows and Linux, the app will look considerably different. This change does not affect the placement or functionality of any UI elements, only their styling.

There's much more that has changed, so we again invite you to read the Changelog below before updating. Happy writing!

Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Feature: The context menus for links and images now also feature various

items that may be useful for formatting aspects of the link/image descriptions

(#6417).

- Feature: Make the "find next" and "find previous" commands of the editor

search configurable. Previously, both Mod-g and F3 would move to the next

search result, but after implementing custom shortcuts, these two commands

were left unconfigurable and hard-coded to Mod-g. These are now configurable

so that you can change the default keybinding of Mod-g to F3 if you wish

(#6575).

- Feature: The LanguageTool linter now also lints text-only properties in

the frontmatter, using the same language as the rest of the document. This

allows spotting issues with these metadata fields as well. Currently, the

linter includes in its detection the following properties:

- title
- subtitle
- abstract
- abstract-title
- description
- shorttitle
- shortsubtitle
- thanks
- Change: The styles and layouts of various UI components have been

adjusted. The following components should now look mostly the same across all

operating systems:

- Toolbar
- File Tree
- Sidebar
- Change: Removed the .md extension from the default new filename pattern

in the Advanced Preferences menu. This pattern is used as the filename, so the

extension is unnecessary. Previously, creating a new file with the default

pattern would result in the .md extension being added twice to markdown

files, or added incorrectly to non-markdown files. Existing users should

update the pattern manually by removing .md from it. For new installations,

the pattern will be correct. (#6638).

- Change: The layout of the document information popover is now improved.

We have moved the bold styling over to the actually important parts, improved

legibility of the popover, and included more information -- notably,

regardless of which unit (words or characters) you select in the preferences,

the popover will now display both numbers, with your preferred one clearly

visible.

- Fixed a misaligned size distribution between the file manager, editor view,

and sidebar. Now, when double-clicking the dividers between these three

components, they will resize so that both sidebars take up 20% of the window

width, as opposed to a distribution of 20% for the file manager and ca. 15%

for the sidebar. This way, both sidebars of the main window are visually

equally sized.

- Fixed a bug where Zettlr would never load attachments from your main

database if that database was in BibTeX or BibLaTeX format, as a small

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.10.0)), read 2026-11-25.

### 4.9.0 (Oct 25, 2026)

Fixed Update-Failed Errors | Reference-Style Image Rendering | Quality of Life Improvements

This update is a small one that most notably fixes an annoyance many of you have reported to us: That after the 4.8.0 update, Zettlr would very often give you an annoying "Update failed" error. Nothing bad happened, and you could work perfectly fine thereafter, but it was indeed annoying. It took us a few days to find, fix, and test the issue, but we believe the error message should now be gone again.

Other than that, there are three additional notable changes in this release. First, Zettlr no longer supports macOS 12 and Ubuntu 17.04 (and below). These operating systems are no longer supported by their manufacturers, and so Zettlr follows Electron in dropping support for these. Second, this update fixes a security vulnerability, specifically the one caused by faulty eMudhra TLS certificates. Therefore, we recommend immediate update. And third, and last, we decided to drop in a small new feature: The image renderer can now not just render inline images (where the source of the image is defined alongside the image), but also refrence-style images, where the source of the image is defined somewhere else in the document. Note, however, that reference-style image captions cannot be edited in place, but must be edited in the reference itself.

Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**Deprecation: macOS 12 and Ubuntu 17.04 no longer supported**

This release updates Electron, Zettlr's underlying application framework, to

version 44. This means that Zettlr will no longer run on macOS 12 or Ubuntu

17.04 or earlier. If you run such a system, please consider updating your

computer to continue using Zettlr.

**GUI and Functionality**

- Feature: Zettlr now correctly renders images that have been defined using

the reference-style variant. So instead of only rendering images in the form

!alt text, it can now also render reference style images in the form

![alt text][reference], with the reference being defined elsewhere (#663).

- Fixed an issue where a URL in an image caption would be improperly treated as

the image source (#6594).

- Fixed an issue where toggling a task mark would scroll the viewport back to

the cursor position. Now, the viewport does not scroll when a task mark is

toggled, though the cursor position is retained (#6603).

- Fixed an issue that would cause jumping of the editor content upon externally

modifying a file (#6531; #6543).

- Fixed an issue that caused excessive "failed to check for updates" errors

(#6574).

- Fixed an issue preventing files with non-lowercase extensions from showing up

and being correctly treated by Zettlr (#6613).

- Fixed a bug that would cause the statusbars of split views visible on top of

distraction-free views when using a split-view layout (#6581).

- The Table Editor now uses the wrapper element's height instead of just the

table element's. This might further improve issues with the editor jumping

around as large tables and documents with many tables are edited (#5732).

- Fixed a startup crash when a workspace contains an Electron .asar archive

(#6551).

**Under the Hood**

- Update Electron to v44.9.1. This drops macOS 12 and Ubuntu 17.04.

Furthermore, this includes a mitigation for the vulnerable eMudhra

certificates (see GitHub Advisory GHSA-jr5w-w6x2-84p9).

- Update Pandoc to v3.12.1. This changes how admonitions/alerts are rendered

and may require updates to your custom template CSS for HTML exports.

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.9.0)), read 2026-11-25.

### 4.8.0 (Sep 18, 2026)

Admonition Support | Translation Updates | Bug Fixes and Performance Improvements

This update to Zettlr brings three major improvements and changes alongside a mix of various performance improvements. Most importantly, we are proud to announce that Zettlr now has support for admonitions! Then, we have received numerous updates to translations from our community so that the localized support is now much better — shoutout to the various community members who made this a reality. Check out the new contributors at the end of this changelog. Lastly, we have changed a long-standing severe logical bug in the search functionality.

Please make sure to thoroughly read this changelog before updating so that you know what's coming. We have also taken the time to write a long release note over on the Zettlr blog introducing all of these changes and explaining the admonition syntax in depths. So head over to the blog and get to know everything that's new in this version.

Happy writing!

Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**Admonitions**

After more than six years in the making, we are proud to announce admonitions as

a new feature for Zettlr. The app now supports the more and more common syntax

that GitHub and other Markdown editors already support, using Blockquotes with a

custom header. You can create notes, tips, warnings, important blocks,

and caution blocks like so:

> [!note] This is the note's title > This is the content of the note.

The title after the keyword is optional, and you can use both uppercase keywords

and lowercase keywords.

Zettlr comes with a built-in renderer so that you can immediately see what the

admonitions might look like upon export (note that the final styling depends on

the export option chosen and support for this type of element). The renderer can

be enabled or disabled exactly like the existing renderers.

When you "copy" a selection that contains an admonition using the "with style"

option, Zettlr will transform the admonition correctly, but whether the

admonition retains its styles depend on the application into which you paste

this code.

Note that admonition support upon exporting requires the alerts extension. You

can enable it manually in your export profile configuration, or enforce support

(where available) via the export settings.

**Deprecation Note: Dropping Support for OS Versions in Next Release**

This is the last Zettlr release shipping with Electron version 43. The next

release will switch to Electrion version 44, which drops support for the

following operating systems:

- Ubuntu 17.04 or earlier
- macOS 12 (Monterey)

Please make sure to update your operating system before the next version of

Zettlr ships if you are affected by this change.

**GUI and Functionality**

- Feature: Admonitions are here! Zettlr now supports a broad range of

admonitions (sometimes also referred to as alerts or callouts). You can use

admonitions to emphasize certain content in your documents using Blockquote

syntax with a special header (see PR. #6497 for details). This closes a long-

standing feature request (#532). Some notes:

- Admonitions come with support of five keywords: note (gray), tip

(green), warning (yellow), important (purple), and caution (red).

- Zettlr supports custom titles for admonitions (full compatibility with other

popular Markdown editors).

- The app ships with a renderer for admonitions that you can turn on and off

just like any other renderer.

- Note that, to make admonitions survive exports, you will need to enable the

alerts-extension of Pandoc in the reader of the profile in question.

- Zettlr will use similar HTML-syntax when you copy text with admonitions

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.8.0)), read 2026-11-25.

### 4.7.0 (Jul 26, 2026)

The next update for Zettlr comes again with a bundle of improvements and new features for you to enjoy. Again, we have spent a lot of time fixing a magnitude of issues and improving the usability of the app.

Besides these rather minor but plentiful improvements, there are two notable new features. First, we are more than happy to finally implement custom shortcuts. Those have been on our users' wishlist for years, and we are happy that we finally could make it work to add them to the customizable things you can do in the app. From now on, you can adjust many existing shortcuts to better fit your muscle memory. In addition, we have made available all text transforms via these shortcuts so that you can assign shortcuts to those that you frequently use. In addition, the interface will warn you if a shortcut you chose would possibly conflict with another command. We have designed this feature to be extensible, and right now not all commands can be customized. So if there is one you always wished you could customize, and it's not yet part of the custom shortcut settings, let us know so we can add it!

A second feature that has been in some demand is the ability to change the editor theme independent of the main theme. We are happy to announce that this is now also possible. By default, the editor theme will follow the main theme, but you can now change this to your liking.

We have also spent some time improving how you can work with the app. For example, clicking on a notification of a successful project export will now immediately open the corresponding file; erroneously opened popovers can now be closed quickly with a press on the Escape key; and we have shuffled around the project settings to make it more obvious what you can customize, and where.

Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Feature: Custom shortcuts are here. You can now customize many of the

available shortcuts and assign them to your likings. This also includes the

various text transformations that we introduced in version 3.6.0 so that you

can bind frequently used ones to a handy shortcut. The feature comes with all

the standards of custom shortcuts, including an interactive shortcut recording

that visualizes which keys will become part of the shortcuts as you type them,

a reset function to restore the default, and an automated conflict detection

that lets you know whether a shortcut you have provided might conflict with

another one.

- Feature: You can now set the editor theme to use a light or dark

appearance independent of the app appearance (#5851).

- Feature: You can now click a long-running-task notification for both

projects and single files to directly open the corresponding file.

- Feature: Popovers can now be closed with a quick press on Escape.
- Change: Changed the layout of the project properties. Now the custom

templates and CSL section are placed on the general tab, while the export

profile picker has moved to its own tab. This gives the custom options more

visibility and provides a better grouping of the options.

- Fixed a regression from 4.6.1 where the full-text search would not search any

open standalone files (#6387).

- Fixed an issue on macOS where opening a file from Finder with no open main

window would not automatically open one (#6391).

- Update translations:
- ja-JP (#6390).
- de-DE (#6449).
- tr-TR (#6450).
- Fix snippets syntax and improve nested support (#6389).
- Fixed a bug that would cause Zettlr to replace a magic quote with a regular

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.7.0)), read 2026-11-25.

### 4.6.0 (Jun 14, 2026)

**Bug Fixes and Performance Improvements | Quality of Life Improvements**

We are pleased to announce the next update for Zettlr. In this version, we have focused more on fixing issues and improving your ability to work on your texts efficiently rather than shiny new features – similiar to what Apple did for their upcoming 27 version of their operating systems!

Concretely, we have fixed a series of regressions and bugs that have occurred during our transition of the editor CSS away from direct styling towards the usage of CSS variables. While this has made applying Custom CSS more easy, it has also caused a few styles to break. This version fixes many of these small issues.

A bigger change involves the full-text search. We haven't really touched this since its introduction many years ago, and it showed. Rewriting the core logic, we were able to significantly improve the search performance. Searches should now be 50% to 100% faster, and deliver more relevant search results. The autocomplete suggestions for both recent searches and restricting the search to directories have been re-implemented to work around a long-standing bug in Chromium that has made the pure-HTML implementation unfortunately unusable.

Another feature this version brings affects primarily francophone Zettlr users. The default trigger character to summon the snippets autocomplete is the colon (:), but unfortunately, this has in the past interfered with how the French language assumes colons are being used. To improve the usability of the app for French speakers, it is now possible to change the trigger character to a forward slash or a percentage sign.

Finally, we have also fixed a few issues with tables. On the one hand, we have improved how you can interact with tables by improving the various commands that automate a lot of the work when working with tables. On the other hand, we have improved the accessibility of these commands with new and improved keyboard shortcuts and a generally better UX.

As always, read the full changelog below to know exactly what has changed. We wish you productive writing sessions with this new update!

Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Feature: Allow changing the trigger character for snippet (and emoji)

autocomplete. Until now, this was hard-coded to : (which is still the

default). However, since that interferes with the way French speakers use the

colon character (Pour exemple : cette.), we now allow different trigger

characters, relieving the colon where necessary. Currently supported are /

and % as alternatives (#5185; #6325).

- Feature: The tutorial is now also available in Portuguese for new users

(#6373).

- Feature: The "Remove line breaks" transformation in the editor is now also

available via the keyboard shortcut Cmd/Ctrl-Alt-J (#5913).

- Change: This release brings many improvements to the full text search

(#6339):

- The full text search was completely rewritten to improve performance by 50%

to 100%.

- The autocompletes for both previous searches and the restrict-to-folder

functionalities have been drastically improved and work reliably (#5686).

- Ability to switch between case-insensitive and case-sensitive searches.
- Improvements in the presentation and layout of search results.
- Change: On macOS, the default setting for window vibrancy is now off. This

makes the file manager opaque, but improves visual design with the new sticky

folder headers.

- Add Elixir syntax highlighting for code blocks; identifiers: elixir, ex,

or exs (#6368).

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.6.0)), read 2026-11-25.

### 4.5.0 (May 8, 2026)

Task Indicator | Custom CSS Improvements | Bug fixes and performance improvements

This update primarily brings two new features to the table: A visual task indicator for long-running tasks, and great improvements in the experience for Custom CSS users.

First, our new long-running task indicator gives you a better overview and insight into any task that you perform in Zettlr that can take long, such as exporting projects to PDF. Now, whenever you start a task that might take a while, Zettlr will show an indicator in the toolbar. It encodes several pieces of information, such as how many tasks are running, how many have failed, and how many were successful. Click the indicator to see more details for each task, including an explicit run time. Once you "clear" the tasks, the icon will disappear again until you start new tasks. If you have hardware acceleration disabled, Zettlr will only show an icon, but if you keep it enabled, you will see an animation.

Second, we have cleaned up the editor CSS. More specifically, the editor themes now make use of CSS variables to style most of their content. This can greatly reduce the complexity for those of you who want to use custom CSS. However, this also means that some custom CSS may break during this update, so make sure you adjust any CSS after updating.

Besides this, this update fixes a few additional bugs, most visibly/notably missing icons in the status bar. See the changelog below for all changes.

Do you enjoy Zettlr? With the recent spikes in SSD and RAM costs, our server costs have skyrocketed. Consider donating to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Feature: Long-running background tasks are now visually indicated with a

toolbar icon. This allows users to check on longer-running tasks such as

project exports or the re-indexing of new workspaces and observe the progress

as it happens.

- Add HCL/Terraform fenced code block support (#6302).
- Fixed Mermaid Chart labels not showing up (#6313).
- Fixed icons in the statusbar not working.
- Update Spanish (es-ES) translations (#6320).

**Under the Hood**

- Updated Electron to v41.3.0.
- Update vue-virtual-scroller to v3.0.0.
- Fixed an issue where the config provider would not emit the old version

correctly (context: #6311).

- Breaking: Refactored the editor themes (#6229). Now styling the app with

Custom CSS is easier and should work more straight forward, since there are

many CSS variables that you can peruse to adjust groups of elements at once.

Note that this change might break your Custom CSS. Make sure to check

anything after setup, and adjust it according to your liking.

- Centralized DOMPurify functionality and default configuration in a new utility

function, that also allows icons using cds-icon.

- Switch from ts-node to tsx for running unit tests.
- Explicitly declare Zettlr as a CommonJS project.
- Change the Object.create(null) contraption to hold BibTeX attachments to a

regular object to simplify the structure and unit tests.

**New Contributors**

- @a-goodarzi made their first contribution in #6302
- @lridalc made their first contribution in #6320

Full Changelog: v4.4.0...v4.5.0

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.5.0)), read 2026-11-25.

### 4.4.0 (Apr 24, 2026)

**Security Fixes | File Manager Improvements | Bug Fixes**

This update improves primarily on two fronts: the file manager and how you can navigate your files, and the security model of the app.

First, this update brings improvements in the file manager, making it easier for you to navigate all your files and folders. This includes a few bug fixes that improve the behavior of the file manager. For example, opening up folders of containing files now works more reliably, and the file manager once again scrolls any newly activated file into view.

Second, we have heavily increased the safety when using the app. We now disallow more potentially dangerous code from executing and have overhauled the security model of the app to better reflect how users interact with the app. As always, you can view the full changelog below.

Do you enjoy Zettlr? With the recent spikes in SSD and RAM costs, our server costs have skyrocketed. Consider donating to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Feature: The app now remembers if the file manager was open or closed

across restarts and applies this setting on each start (#3679).

- Feature: The names of open folders in the file manager tree will now

remain sticked to the top of the file manager as you scroll through its list

of children. This is especially helpful in the "combined" file manager mode

with folders containing many files and subfolders (such as reading notes or

Zettelkasten folders).

- Add strikethrough to the Markdown AST parser (#6263).
- Fixed Markdown-to-HTML output to generate more valid HTML. This makes

comparisons with DOM-inserted HTML deterministic and should reduce the amount

of updates especially for complex widgets such as tables by a lot.

- Reduced amount of image updates in the editor. This may increase performance

especially for long documents with many images.

- Fixed containing directories not uncollapsing when a containing file was made

active.

- Upon switching between files, the file tree now consistently scrolls to the

affected file, making working with larger workspaces easier.

- The scroll-behavior for scrolling files into view has changed from instant to

smooth.

- Fixed a small bug that could throw off switching between different file

manager modes.

- Fixed the cursor scroll margin again. This means that, after years of it not

working, as you type there will now be some margin towards the top or bottom

of the editor window, preventing the cursor to "stick" to the edge of the

editor.

- Update pt-PT translations (#6282).
- Fixed an issue that would lead to unexpected navigation behavior across the

file manager (#4329).

- Fixed an issue where the file list would follow slightly different filtering

rules than the file tree due to different function implementations.

- Harmonized font usage to System fonts across the app (#5125).
- Improve Mermaid chart error reporting (#6291).

**Under the Hood**

- Switch from sanitize-html to DOMPurify for HTML sanitization, since the

latter has much, much less issues with various types of exotic XML-type tags

such as MathML.

- Updated Electron to v41.1.1.
- Security: Disallow any and all inline-JavaScript across all browser windows.
- Security: Enforce loading remote resources using HTTPS.
- Security: Generously spread HTML sanitization across the application. The

following changes have been made:

- Moved HTML sanitization to the edge (directly to the injection sinks).
- Removed HTML sanitization from the translation helpers. The reason is that

DOMPurify does not work out of the box in the main process, so we also

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.4.0)), read 2026-11-25.

### 4.3.1 (Mar 30, 2026)

**Bug Fixes and Performance Updates**

For this small update, we've fetched the polishing cloth and improved things here and there, but nothing big has happened. The one notable fix is that Zettlr now properly escapes path names passed to shell commands during exports. In very specific circumstances, it was possible to make Zettlr execute unexpected commands during exports. This update improves this behavior so that it is no longer possible.

Do you enjoy Zettlr? With the recent spikes in SSD and RAM costs, our server costs have skyrocketed. Consider donating to help us pay for the development costs. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Update pt-PT translations (#6262).
- Translated the tutorial to Japanese (#6260).

**Under the Hood**

- Escape file and directory paths passed to runShellCommand.
- Update Pandoc to v3.9.0.2.
- Updated some dependencies.
- Removed duplicate FSAL descriptor fetching.
- Improved resiliency of the descriptor fetching; now if a renderer requests an

array of paths, the FSAL does not fail. Instead, it simply omits those

descriptors from the return array and logs an error (context: #6272).

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.3.1)), read 2026-11-25.

### 4.3.0 (Mar 21, 2026)

**New File Manager Controls | QoL Updates | Bug Fixes | Security Fixes**

This release brings many great new things to Zettlr. Besides the obvious batch of bug fixes, this update focuses on improved citation quality, and findability of your files in the file manager. Specifically, this update improves the file manager by allowing you to sort your workspaces and add colors to your folders. You can also close all standalone files or workspaces with a few clicks, if you so wish. In terms of citation support, Zettlr now shows a tooltip after some delay if you hover over a citation with your mouse, showing you the generated bibliography for those items to make sure you actually cite the correct work.

Besides that, you now get CSS autocompletion in the Custom CSS editor. The boot sequence of Zettlr is now much more resilient towards missing files, folders, or weird permission errors, so you should have a much better experience in volatile contexts. We also fixed a few potential security issues where unsanitized HTML was rendered in the main window that could possibly be abused by malicious actors.

To see what exactly has changed in detail, please review the changelog below.

Do you enjoy Zettlr? Consider donating to help us pay for the development costs. With the recent spikes in SSD and RAM costs, our server costs have skyrocketed. You can donate monthly on Patreon or once via PayPal. Additionally, you can directly sponsor Hendrik Erz on GitHub or send a tip on Ko-Fi. Thanks for your support!

**Changelog**

**GUI and Functionality**

- Feature: Added a citation tooltip. When hovering over a citation cluster

in your documents with your mouse, this will generate a small bibliography of

just the items contained in the citation cluster and display it using the

tooltip. This allows you to quickly check which item you cited exactly.

- Feature: The Custom CSS editor now offers autocomplete assistance (#6226).
- Feature: Added dedicated math code block syntax highlighting to add

MathTeX to files without rendering (#6226).

- Feature: You can now close all standalone/root files as well as all

workspaces from a new file manager context menu that opens via right-click

onto the section headers or with a click on the corresponding button. In

addition, you can collapse all folders with a simple click (#6209).

- Feature: You can now manually change the sorting of your workspaces. By

default, Zettlr automatically sorts your workspaces by name. However,

sometimes you may wish to change the ordering. To do so, use the new file

manager context menu and select "Sort workspaces…". This will open a popover

that allows you to change the workspace ordering using drag and drop. As soon

as you overwrite the sort order manually, this will disable automatic sorting

from here on. Newly opened workspaces will simply be appended at the end of

the list of open workspaces. To re-enable automatic sorting of your

workspaces, use the new setting in the file manager preferences, or click the

corresponding button in the sort popover.

- Feature: You can now assign custom accent colors to folders across your

workspaces to make them easier identifiable. This aids the existing custom

icons that you can already use to differentiate folders. You can assign one of

seven built-in colors to every directory: blue, purple, rose, red, orange,

yellow, and green. For friends of Custom CSS: These are specified as CSS

variables so that you can adjust them if you wish. The pattern is:

--accent-‹color>.

- Fixed potential crashes when standalone/root files or workspaces have been

removed while Zettlr was closed (#6223). Recognizes PR #6225 by @SergioChan

who started this effort. Previously, the re-indexing process when Zettlr boots

would not check for the existence of open paths, causing crashes.

- Show citation menu when right-clicking on a non-rendered citation (#6213).

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.3.0)), read 2026-11-25.

### 4.2.1 (Mar 7, 2026)

**Bug Fixes | Updated Dependencies**

This update only brings minor things to the table. Most notably, this update fixes the logic of Zettlr to handle extensions to Pandoc readers and writers. Previously, extensions were always removed from readers and writers whenever you imported or exported a file. Now, if you specify an extension, this will work again. This means, previously, if you specified a writer in your defaults files disabling the “smart” extension (e.g., writer: docx-smart), Zettlr would strip the extension away. Now, these extensions are retained correctly on each import or export.

In addition, this update fixes a few oddities after the Zotero 8 update, and updates all dependencies to the newest available versions.

**Changelog**

Fixed Pandoc Extension Parsing

If you ever used Pandoc extensions

with Zettlr, you may have wondered why they sometimes appeared not to work.

After a report by a user, we have found out that Zettlr never actually parsed

these correctly. We decided to make this a bit more visible in the changelog

since your exports may have been broken without you realizing. This way you can

verify any of your exports.

**GUI and Functionality**

- Fix indenting and tab insertion behavior (#6196).
- Fix Zettlr not correctly parsing Pandoc extensions (#6212).
- Improved error handling when opening PDF attachments.
- Make Zettlr more resilient when CSL JSON library files are malformed.

**Under the Hood**

- Add unit tests for parseReaderWriter utility function.
- Upgrade Electron to v40.8.0.
- Upgrade Pandoc to v3.9.0.
- Upgrade ESLint to v10.0.3.
- Properly parse and check the returned results from the BetterBibTex JSON RPC

API when querying PDF attachments.

- Zettlr no longer assumes CSL JSON files are well-formed. Instead, each item is

checked for the presence of required keys, and is skipped if there is an

issue. This ensures library files can also be loaded partially.

Full Changelog: v4.2.0...v4.2.1

Source: GitHub (notes: [github.com](https://github.com/Zettlr/Zettlr/releases/tag/v4.2.1)), read 2026-11-25.

## Details

- Latest version: 4.11.0
- Released: Nov 26, 2026
- Last checked: Nov 26, 2026, 21:18 UTC
- Website: https://www.zettlr.com/
- Homebrew cask: zettlr
