-
Notifications
You must be signed in to change notification settings - Fork 198
ReText is a text editor for various markup languages (such as Markdown and reStructuredText). It gives you the power to control all output formatting. The files it works with are plain text files, however it can export to PDF, HTML and other formats.
ReText is officially supported on Linux. Theoretically it can be run on any other platform. If you want to port ReText to your platform, please file a bug and describe required changes.
Markdown is a text markup language which allows you to create documents of all types (this page is written using Markdown). Some links: website, basics, syntax, and online renderer.
You may also want to have a look at odt2txt or odt2pandoc scripts that convert ODT files to Markdown files.
reStructuredText is another popular markup language. Some links: website, quick reference, example document, cheat sheet, and online renderer.
You can, see PyMarkups documentation for details.
Yes, see Math page for details.
Yes, you can do this in Markdown mode by using "page-break-before: always"
style. The page breaks will be in effect when printing or exporting to PDF. Example:
Some text here.
Another page starts here.
{: style="page-break-before: always" }
Add an empty line before starting the next paragraph.
You should enable attr_list
Markdown extension before using this (see Markdown extensions page for details).
Synchronized scrolling is currently only supported for Markdown. To use it, you need to enable the WebKit or WebEngine renderer (by checking the corresponding item in the “Edit” menu).
There is a way to make ReText look nice with Breeze Dark, see this comment.
Anyone is welcome to translate ReText! There are two ways to do this. The first way is via Transifex web interface.
Alternatively, you can translate the .ts
files manually using Qt Linguist. Here are the instructions:
- Install Qt and PyQt development tools (On Debian-based systems, you will need packages
qttools5-dev-tools
andpyqt5-dev-tools
) - Clone the repository from GitHub
- Run
pylupdate5 ReText/*.py -ts retext_LANG.ts
(replaceLANG
with code of your language, i.e.retext_fr.ts
orretext_pt_BR.ts
) - Open the generated
.ts
file with Qt Linguist and make the translation (you can read the one minute guide first) -
Upload that file to GitHub and create a pull request (or commit that file to
locale/
directory using Git) - Until then, you can compile the translation into a
.qm
file via Qt Linguist and use it.
Pages in this wiki:
- Home
- Installing ReText
- FAQ
- Markdown syntax extensions
- Math formulas
- Export extensions
- Table editing mode
- FakeVim mode
Documentation in git repository: