Marktext is an Excellent Editor Even for Those Who Don’t Know Markdown

Another Markdown editor? Have we not seen all kinds of Markdown editors already?

I understand that feeling. If you are a Markdown lover, from Joplin to Zettlr, you have tried most of them. And if you are not a Markdown fan, you probably don’t care about these editors.

Markdown is an excellent markup language especially for people who write for the web. I am not going to go into the details here. We have an excellent Markdown starters guide if you are interested in learning more about it.

My focus here is on introducing you to (another) Markdown editor, It’s called Marktext and it is an Electron app (don’t hate me just yet).

I found it to be an excellent editor. It works as well as it looks. Let me share my experience and its features.

Marktext: A Markdown editor for everyone

Hate Electron framework as much as possible but you cannot deny that Electron-based applications have a clean, modern interface.

marktext interface
Marktext interface

I prefer dark mode and hence I switched the theme. There are six themes in total for you to choose from.

marktext dark theme
Marktext dark theme

You can start writing the text immediately. If you don’t remember the text, don’t worry. Just use the insert option with @ and it will give you a number of options such as:

  • Headings
  • Divider line
  • Table
  • Mathematical equations
  • HTML block
  • Code block
  • Quote block
  • Lists
  • Checklist
  • Diagrams using vega-lite.js, flowchart.js, js-sequence and PlantUML
marktext insert options
Use various document elements in the editor by pressing @

Select part of the text and it gives you additional formatting options to change the text to bold, italic, underline, or strikeout. You can also highlight the text with yellow background text, convert them into inline code or inline math and create hyperlinks.

text formatting options marktext
Text formatting options

Marktext also supports images. However, you know that images are not part of the markdown (.md) file. They are external elements, but you have the option to create a local assets folder in the same location where your Markdown file is saved.

images in marktext
Images are supported too

Adding images could have been made easier if they were included in the insert menu. At the moment, you can add images by selecting text and choosing the image option from the format options or using Ctrl+Shift+I keys. There is no scope for adding alt text or captions to the images. This should be improved.

I liked the tables feature in Marktext. You can insert a table with a predefined size. If you change your mind, you can resize it as easily. You can move the rows and columns, all with mouse drag and drop without touching the underlying code.

tables in marktext
Tables are very well supported in Marktext

You can enable the sidebar view. The sidebar gives you three options. You can open folders containing multiple markdown files, perform a global search in all the files in the opened folder and show the table of contents for the currently opened file. The table of content is automatically generated based on the subheadings.

sidebar view marktext
Sidebar view has three options: Show folder content, global search and table of content

The gear icon at the bottom gives you additional settings to configure the editor. You can choose the themes, change image settings, views, enable auto-save and modify many more settings.

marktext settings
Configuration and settings

Installing Marktext

Marktext is a cross-platform, open source application. Along with Linux, it is available for Windows and macOS.

For Linux, you get the options of AppImage and Flatpak. You can get the AppImage from the release page.

I chose the Flatpak version for better system integration. And it did work well because Marktext automatically became the default editor for .md files on my Ubuntu 22.04 system.

Please ensure that you have Flatpak support enabled on your system and then add Flathub repo:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

After that, use the command below to install it on your system:

flatpak install flathub com.github.marktext.marktext

If you don’t like it, you can remove it using this command:

flatpak uninstall com.github.marktext.marktext

Verdict

There are plenty of small features like word count, math latex, spell checker or copy-pasting as markdown or HTML and I leave them up to you to discover.

I’ll be honest. Despite using Markdown for writing articles for years, I don’t remember all the syntaxes. I remember the common ones for headings, lists, code block etc but if I have to create a table, I’ll have to search the web.

I have experimented with a number of markdown editors and there are plenty of good ones there. However, I took an instant liking to Marktext and it will be on my system for a long time.

If you try it, do share your experience in the comment section.

Similar Posts

  • Marktext is a great Markdown Editor, for me better than Typora and open source and free. Sorry to hear that development maybe stopped. Maybe some donation may help? I compared many Markdown Editors (that are available for all 3 desktop platforms) and Marktext has a very good preview layout, checkbox onclick-changing (I need this primalry as a desktop editor for Nextcloud notes, since their web editor doesn’t support all the features of the Android notes app.), easy table handling andwide mermaid AND plantuml (Mindmap) support! very great! So Odsidian, also simply file based note storage, is not needed. For Android also Epsilon or Markor App is available. For my personal note storage I use Joplin due to also android support. I short view into the Upnote app its nice and cheap and has an good Android Toolbar. I will keep it in mind.

  • I tried this out today. Selecting text and hitting delete (Mac)can have random effects – sometimes it duplicates other text, sometimes it deletes the wrong thing. Writing a code block and hitting delete in the first position might turn the next paragraph into a code block, or worse. If it worked it would be great, but it is terrible. When I selected a paragraph and hit delete and it deleted the latter 2/3 of my document I decided to throw in the towel. Can not recommend this at all in its current state, it’s positively dangerous.

  • “Despite using Markdown for writing articles for years, I don’t remember all the syntaxes. I remember the common ones for headings, lists, code block etc but if I have to create a table, I’ll have to search the web”

    Same here. 😃

    • With Marktext you can use shortcuts for table and pictures or the @ command and type or scroll for what you search for.