1
0
textfmt/notes.txt

43 lines
1000 B
Plaintext
Raw Normal View History

2025-10-23 02:55:38 +02:00
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
2025-10-28 00:47:41 +01:00
test empty cat
2025-10-31 20:24:37 +01:00
there should be no errors other than actual IO
2025-11-02 06:27:17 +01:00
make the html definition lists look better. E.g. do they need a colon?
check indentation of lists: subtract prefix length
2025-10-31 20:24:37 +01:00
[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
- ...