aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* src/style.css: Better spacing for <pre> tagsEuAndreh2022-02-261-1/+5
|
* src/td.in: Add -S option to dump suggested CSSEuAndreh2022-02-194-3/+89
|
* Makefile: Include append $(NAME) to the definition of $(LIBEXECDIR)EuAndreh2022-02-191-2/+2
|
* src/td.in: Include extra example in help messageEuAndreh2022-02-196-0/+18
|
* src/locale/: Update translation filesEuAndreh2022-02-1910-10/+15
|
* src/td.in: Add -F RC_FILE option for providing a file other than .tdrcEuAndreh2022-01-201-15/+33
|
* src/td.in: Add missing option in Usage textEuAndreh2022-01-201-1/+1
|
* src/td.in: Put options in help message and getopts arguments in the same orderEuAndreh2022-01-201-6/+6
|
* src/td.in: Disable unusable WIP lintingEuAndreh2022-01-191-0/+1
|
* src/td.in: Remove leftover echo commandsEuAndreh2022-01-181-2/+0
|
* src/td.in: separate flag from string option in "head" and "tail" commandsEuAndreh2022-01-181-2/+2
|
* src/td.in: Add optimal_line_for_type()EuAndreh2022-01-181-2/+42
| | | | | | | | | | | | | | | | | Use the new function in insert_at_line(): whenever a given line $N is equal to 0, meaning it doesn't exist yet in the file, the optimal_line_for_type() will scan the file and answer with the "optimal" line number that the the type should be inserted at. It does that by looking at the order in which types apper in $TD_TYPES, and compare that with $TD_FILE: - if a previous type has appeared already, it continues scanning the file until a different level 1 heading appears, or until the end of the file; - if a type that comes after appears, it gets inserted before it; - if no types exist in the file yet, it gets inserted at the end. It fixes #td-05580844-40db-0db6-b11e-9f041a08c0a7.
* First commit, now with a clean historyEuAndreh2022-01-1852-0/+740