A gedit plugin previewing markdown (.md) documents
This is a plugin for the Gedit text editor, previewing .md files in the side
pane (F9) or the bottom (Ctrl+F9) pane.
This works for Markdown, HTML, and SVG files.
You can print the preview, or export it:
pandoc
is installed on your system, you can export to any format it supportspython3-markdown
is installed, you can export to HTMLpython3-markdown
extensions can be used (including third-party extensions like these great onesWith the preview in the side pane, menu opened | With the preview in the bottom pane, searching |
---|---|
![]() |
![]() |
gedit-plugin-markdown_preview
.Even if you install the plugin with a package manager, you may like to read the
following sections, since installing optional dependencies will enable new
features of the plugin.
gedit
(≥3.22)gir1.2-webkit2-4.0
python3-markdown
or pandoc
pdflatex
lmodern
. Those are provided by texlive
packages whose names varylibglib2.0-bin
(needed for the installation script only). This is the./install.sh
— it can be executed as root (system-wide installation) orThe plugin is now installed and has to be enabled:
The plugin’s options can be accessed…
The preview can be generated with pandoc or
python-markdown.
A stylesheet (CSS file) can be applied to the preview (markdown files only, it
will not be loaded for HTML files).
A set of extensions is provided
natively with python-markdown. You can enable or disable them depending on your
needs.
Great third-party extensions
exist too, and once installed they can be added manually to the list.