1
0
mirror of https://github.com/h7x4/nix-attr-search.git synced 2024-12-22 03:57:32 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
51ab2cf393
docbook2txt: halfway finish <informaltable>
This required a lot of restructuring, which is why I won't
put this on another branch.

A part of the library which is updated in github but not yet at hackage,
is needed to continue. Specifically, the `Monoid` instance in
`Text.Layout.Table.Cell.Formatted` is needed to put together multiple
colored text in a table.

Among other things introduced, there is now our own `Formatted` type
which is used to await formatting until things like tables come up.
Compared to the earlier `IO ()` approach, this is probably a lot better.
2022-11-30 20:26:36 +01:00
4099bbce8d
docbook2txt: clean up some code
- Introduce pattern synonym `TextLeaf` for `TagLeaf (TagText)`
- Convert `replaceTagColor` to use "case-of" pattern matching
2022-11-30 03:08:01 +01:00
c1d4bece4a
docbook2txt: parse more tags
- parse `<quote>`
- parse `<warning>`
2022-11-30 02:49:06 +01:00
ea4e35b82a
docbook2txt: rename xmldoc2txt to docbook2txt 2022-11-29 23:16:52 +01:00