1
0
textfmt/notes.txt
2025-10-31 20:24:37 +01:00

42 lines
952 B
Plaintext

indentation for syntax in tty and roff
does the table need the non-breaking space for the filling in roff?
indentation for syntax may not require non-break spaces
test empty cat
improve wrapping of list paragraphs by allowing different first line wrap
there should be no errors other than actual IO
[refactor]
stop on errors earlier where possible
denormalize individual render functions
support single line in indent, indentOnly option
escape is more generic than editor:
- could replace editor
- maybe indent, too
- could become its own library
- could be used in HTML, too
collect the common transformations:
- escape
- wrap
- collapse to single line
- fill spaces
- convert spaces
- width and height calculations
- ...
identify the order of these transformations while rendering the different entries:
- tty:
- title
- paragraph
- ...
- roff:
- title
- paragraph
- ...
- md:
- title
- paragraph
- ...
- html:
- title
- paragraph
- ...