Commit 72d7dbf7 authored by Tomáš Hübelbauer's avatar Tomáš Hübelbauer

Expand planned development tasks

parent ec04f2af
......@@ -2,4 +2,15 @@
> Planned development:
- Experiment with being smarted about inserting newlines and spaces in the generated TXT files to follow formatting
## Experiment with being smarter about inserting newlines in the generated TXT files to indicate formatting
- For each office format (Word, Excel, PowerPoint), keep a list of special tag names
- For each text node check if parent tag name is in the list
- Yes: append a newline, append the text node value, append another two newlines (indicate a block element)
- No: append the text node value and a newline (indicate an inline element)
In both cases newlines are appended, not spaces or nothing for inline elements to avoid long, hard to spot diff lines.
Lines followed by other lines will indicate separate inline elements.
Lines surrounded by empty lines will indicate block elements.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment