You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copied the theme file to all likely locations:
~/.config/marktext/themes/export
~/.var/app/com.github.marktext.marktext/config/themes/export/
~/.var/app/com.github.marktext.marktext/config/marktext/themes/export/
~/.var/app/com.github.marktext.marktext/data/themes/export/
~/.var/app/com.github.marktext.marktext/data/marktext/themes/export/
~/.var/app/com.github.marktext.marktext/themes/export/
~/.var/app/com.github.marktext.marktext/marktext/themes/export/
Thanks for the detailed report, and @extromedia for confirming the same behavior. You're both right that themes/export/ is export-only — it's scanned by the Export dialog to build the PDF/HTML/styled-HTML output (see the Export Themes docs), and was never meant to feed the main window's 'Theme' menu, which only lists MarkText's built-in editor UI themes.
The good news is that custom CSS for the editor itself is already supported, just through a different door: open Preferences > Theme and scroll down to the 'Custom CSS' box. Anything you paste there is applied live to the whole app, including the WYSIWYG editor - so you can use it to restyle the editor the way you were hoping the export theme file would. There's no file-drop workflow for it today, but pasting the contents of a theme CSS file into that box works.
Closing since custom-CSS-for-the-editor already exists via Preferences > Theme > Custom CSS, and themes/export intentionally stays export-only. Feel free to reopen if that field doesn't do what you need!
Activity
extromedia commentedon Nov 1, 2024
I was expecting the custom themes would work for editing (as a WYSIWYG), but I think they are only available for exporting.
I installed the deb file on Ubuntu 22.04
MarkText: v0.17.1

Node.js: 16.5.0
Electron: 15.4.0
Chromium: 94.0.4606.81
OS: Linux x64 6.8.0-45-generic
Jocs commentedon Jul 5, 2026
Thanks for the detailed report, and @extromedia for confirming the same behavior. You're both right that
themes/export/is export-only — it's scanned by the Export dialog to build the PDF/HTML/styled-HTML output (see the Export Themes docs), and was never meant to feed the main window's 'Theme' menu, which only lists MarkText's built-in editor UI themes.The good news is that custom CSS for the editor itself is already supported, just through a different door: open Preferences > Theme and scroll down to the 'Custom CSS' box. Anything you paste there is applied live to the whole app, including the WYSIWYG editor - so you can use it to restyle the editor the way you were hoping the export theme file would. There's no file-drop workflow for it today, but pasting the contents of a theme CSS file into that box works.
Closing since custom-CSS-for-the-editor already exists via Preferences > Theme > Custom CSS, and themes/export intentionally stays export-only. Feel free to reopen if that field doesn't do what you need!
feat(theme): import custom editor themes from a folder