All Projects → maoschanz → gedit-plugin-markdown_preview

maoschanz / gedit-plugin-markdown_preview

Licence: GPL-3.0 license
A gedit plugin previewing markdown (.md) documents

Programming Languages

python
139335 projects - #7 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to gedit-plugin-markdown preview

gedi
a python code completion plugin for gedit3+
Stars: ✭ 33 (-58.23%)
Mutual labels:  gedit, gedit-plugin
gracer
a rust code completion plugin for gedit
Stars: ✭ 35 (-55.7%)
Mutual labels:  gedit, gedit-plugin
Marker
🖊 A gtk3 markdown editor
Stars: ✭ 644 (+715.19%)
Mutual labels:  pandoc, gnome
gedit-file-search
Gedit plugin to search a text in all files in a directory
Stars: ✭ 41 (-48.1%)
Mutual labels:  gedit, gedit-plugin
Adapta-Nord
Nord version of Adapta Theme!
Stars: ✭ 27 (-65.82%)
Mutual labels:  gnome, gnome-desktop
nautilus-right-click-new-file
Add a right click context menu in Nautilus to add new documents for Linux desktop.
Stars: ✭ 23 (-70.89%)
Mutual labels:  gnome, gnome-desktop
GabTag
A gtk linux application to handle audio tags 🎵
Stars: ✭ 34 (-56.96%)
Mutual labels:  gnome, gnome-desktop
pandoc-placetable
Pandoc filter to include CSV data (from file or URL)
Stars: ✭ 35 (-55.7%)
Mutual labels:  pandoc
citeproc-rs
CSL processor in Rust.
Stars: ✭ 56 (-29.11%)
Mutual labels:  pandoc
Markdown-Templates
Templates for creating scientific, academic and technical documents using Markdown and Pandoc that support equations, code blocks, citations, Unicode symbols and vector graphics.
Stars: ✭ 130 (+64.56%)
Mutual labels:  pandoc
tufte-pandoc-jekyll
A Jekyll theme for using Tufte CSS with Jekyll + Pandoc
Stars: ✭ 56 (-29.11%)
Mutual labels:  pandoc
pandoc-doc-ja
Pandocユーザーズガイド日本語版(Pandoc 2.7.2+準拠)のリポジトリ by Sphinx
Stars: ✭ 19 (-75.95%)
Mutual labels:  pandoc
gnome-keysign
An easier way to sign OpenPGP keys over the local network. A GTK/GNOME application to use GnuPG for signing other peoples' keys. Quickly, easily, and securely.
Stars: ✭ 42 (-46.84%)
Mutual labels:  gnome
redmine convert textile to markown
Redmine rake task to convert content from textile to markdown
Stars: ✭ 45 (-43.04%)
Mutual labels:  pandoc
casile
The CaSILE toolkit, a book publishing workflow employing SILE and other wizardry.
Stars: ✭ 36 (-54.43%)
Mutual labels:  pandoc
toggle term
A simple script to transform your boring terminal into A DROP DOWN boring terminal
Stars: ✭ 19 (-75.95%)
Mutual labels:  gnome
bookends-tools
Alfred Workflow to Integrate with Bookends, an academic reference manager/bibliography tool for macOS
Stars: ✭ 78 (-1.27%)
Mutual labels:  pandoc
gnome-shell-extension-spotify-controller
A GNOME Shell extension to control Spotify in the top bar
Stars: ✭ 33 (-58.23%)
Mutual labels:  gnome
pidswallow
A swallower script using process hierarchy.
Stars: ✭ 40 (-49.37%)
Mutual labels:  gnome
dark-toggle
A small POSIX compliant shell script that toggles between the dark and light variants of a GTK theme.
Stars: ✭ 18 (-77.22%)
Mutual labels:  gnome

Gedit Markdown Preview

This is a plugin for the Gedit text editor, previewing .md files in the side pane (F9) or the bottom (Ctrl+F9) pane.

Previewing

  • show a preview of a file
  • dynamically update the preview
  • zoom in or out on the preview
  • search in the preview
  • open links and images

This works for Markdown, HTML, and SVG files.

Exporting

You can print the preview, or export it:

  • if pandoc is installed on your system, you can export to any format it supports
    • a stylesheet can be applied to most file formats
    • be careful if you want to export to PDF: pandoc doesn't come with all necessary dependencies by default
  • if only python3-markdown is installed, you can export to HTML

Screenshots

With the preview in the side pane, menu opened With the preview in the bottom pane, searching
With the preview in the side pane, menu opened With the preview in the bottom pane, searching

Installation

Packages

  • For Arch Linux and its derivatives: the AUR package is named 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.

Manual installation

  1. Dependencies. Be sure to have these packages before installing the plugin:
  • gedit (≥3.22)
  • gir1.2-webkit2-4.0
  • python3-markdown or pandoc
  • if you want to export to PDF with pandoc, you'll need at least pdflatex and lmodern. Those are provided by texlive packages whose names vary depending on the distribution. Warning: the version provided by Debian is sadly broken (some error message about xcolor.sty).
  1. Download the ZIP of the last release.
  2. Extract the archive.
  3. Open the project's folder in a terminal.
  4. Run ./install.sh — it can be executed as root (system-wide installation) or as a normal user (user-wide installation).

Activation

The plugin is now installed and has to be enabled:

  • Open Gedit's preferences.
  • Go to the "Plugins" tab.
  • Enable the "Markdown Preview" plugin.

Configuration

The plugin's options can be accessed…

  • from Gedit's preferences → Plugins → Markdown preview → Preferences
  • or with the plugin's "3-dots menu" → Options

General options

  • Position of the preview (left side or bottom)
  • If you want the plugin to understand relative paths (for links and pictures). This is not recommended if you use special characters in filenames (some versions of WebKit2GTK can't load URIs with special characters for some reason)

Rendering options

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).

Options with python-markdown

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.


Available languages

  • English
  • French
  • Dutch
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].