Skip to main content

Markdown Editor

A TagSpaces extension allowing viewing and editing of Markdown files.

Features

  • WYSIWYG Markdown editing
  • Embedding images, also as data URLs
  • Support for emojis 🍒
  • Support for tables
  • Simple text formatting and headers
  • Copy and paste markdown text
  • Support for math expressions
  • Reading aloud the text content of the document
  • Visualizing the markdown header structure as a mind map

Screenshot of the markdown editor

The following video will present some of the features:

Markdown editor - feature overview

Mindmap

The extension can generate a mind map structure of the document based on its header structure.

Screenshot of the markdown editor mind map

Diagrams

The editor supports presenting and editing of mermaid based diagrams:

Mermaid based diagrams in the markdown editor

Live Demo

You can test it live here.

Used Libraries

This extension thankfully relies on the following libraries:

Keyboard Shortcuts

Mod is Cmd on macOS and Ctrl for Windows/Linux.

Essentials

ActionKey
CopyMod-c
CutMod-x
PasteMod-v
New LineEnter
Exit CodeMod-Enter
PrintMod-p
SaveMod-s

History

ActionKey
UndoMod-z
RedoMod-Shift-z

Mark

ActionKey
BoldMod-b
ItalicMod-i
Inline CodeMod-e
Strike ThroughMod-Alt-x

Paragraph

ActionKey
Normal TextMod-Alt-0
H1Mod-Alt-1
H2Mod-Alt-2
H3Mod-Alt-3
H4Mod-Alt-4
H5Mod-Alt-5
H6Mod-Alt-6
Code FenceMod-Alt-c
Line BreakShift-Enter

List

ActionKey
Ordered ListMod-Alt-7
Bullet ListMod-Alt-8
Task ListMod-Alt-9
Sink List ItemMod-]
Lift List ItemMod-[

Table

ActionKey
Next CellMod-]
Prev CellMod-[
Exit Table and BreakMod-Enter

Installation

This extension is packaged with any new version of TagSpaces.

Source Code

The source code of this extension is freely available on GitHub.

Development

If you want to extend this extension, please follow our general extension development guide.

License

MIT