ReText: A Text Editor with Support for reStructuredText and Markdown
Productivity Sauce
ReText is a nifty text editor for those who appreciate markup systems like reStructuredText and Markdown. The application allows you to easily create formatted texts using either reStructuredText or Markdown markups, and then output the result in several formats including ODF, PDF, and HTML. In addition to that, you can upload formatted documents to Google Docs directly from within the editor. ReText boasts other handy features, including HTML syntax highlighting, auto save option, and support for CSS styles. The editor sports a tabbed interface, so you can manage multiple text files, while the Preview pane lets you view the formatted output of the currently edited file. The Tags and Symbols drop-down lists allow you to quickly insert often-used HTML tags and symbols like em dash, right and left arrows, dot, etc. Like any text editor worth its salt, ReText supports a simple find feature as well as undo and redo operations. The only missing piece here is the lack of word count and line numbering features.
ReText is written in Python, and the text editor requires no installation. However, it depends on a handful of packages, including python-qt4, python-markdown, python-docutils, and python-gdata. These packages are available in the software repositories of most mainstream Linux distributions, so you can easily install them using your distro's package manager. Grab then the latest release of ReText and unpack the downloaded archive. Make the retext.py file in the resulting directory executable using the chmod +x retext.py command, and launch the editor by running the ./retext.py command (or double-click on the retext.py file in the file manager).
Users of Ubuntu-based distributions can install ReText via a dedicated PPA:
sudo add-apt-repository ppa:mitya57/ppa sudo apt-get update sudo apt-get install retext
Comments
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Kernel Project Releases Project Continuity Document
What happens to Linux when there's no Linus? It's a question many of us have asked over the years, and it seems it's also on the minds of the Linux kernel project.
-
Mecha Systems Introduces Linux Handheld
Mecha Systems has revealed its Mecha Comet, a new handheld computer powered by – you guessed it – Linux.
-
MX Linux 25.1 Features Dual Init System ISO
The latest release of MX Linux caters to lovers of two different init systems and even offers instructions on how to transition.
-
Photoshop on Linux?
A developer has patched Wine so that it'll run specific versions of Photoshop that depend on Adobe Creative Cloud.
-
Linux Mint 22.3 Now Available with New Tools
Linux Mint 22.3 has been released with a pair of new tools for system admins and some pretty cool new features.
-
New Linux Malware Targets Cloud-Based Linux Installations
VoidLink, a new Linux malware, should be of real concern because of its stealth and customization.
-
Say Goodbye to Middle-Mouse Paste
Both Gnome and Firefox have proposed getting rid of a long-time favorite Linux feature.
-
Manjaro 26.0 Primary Desktop Environments Default to Wayland
If you want to stick with X.Org, you'll be limited to the desktop environments you can choose.
-
Mozilla Plans to AI-ify Firefox
With a new CEO in control, Mozilla is doubling down on a strategy of trust, all the while leaning into AI.
-
Gnome Says No to AI-Generated Extensions
If you're a developer wanting to create a new Gnome extension, you'd best set aside that AI code generator, because the extension team will have none of that.

Using Markdown as an input for Slideshow - s6 and s9