I am looking for a word processor that stores its data in a textual format.
In particular, the textual format should give useful diffs using git diff
or similar commands.
Things that I need:
- The usual stuff: bold, italic, strikethrough, underline, titles.
- Page breaks. (This rules out anything Markdown-based, unless it's a Markdown dialect that goes beyond the usual.)
- Format templates. I want to have one definition of "this is a security warning", "this is source code", and "this is user input".
- Some way to integrate graphviz .dot files (or images in general).
- Some way to export to PDF.
Nice to have:
- Centered text for titles and subtitles.
- Easy integration of graphviz .dot files.
- Easy PDF export.
I tried various combinations of keywords in search engines, but search results either talked about word processors with no mention of a textual storage format (too general), or about Markdown-based editors (too specific and with the wrong specialization).