htmltools

Various command line tools to transform HTML documents
git clone git://git.entf.net/htmltools
Log | Files | Refs | README | LICENSE

commit 9d165ff702e88412fd2a242b9fb742011f99ba58
parent f1acf4e3b77e171e87b5279376dcb8a2a868de50
Author: Lukas Henkel <lh@entf.net>
Date:   Fri, 19 Feb 2021 21:24:46 +0100

Update readme

Diffstat:
MREADME.md | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -8,18 +8,20 @@ This is a collection of utilities to manipulate HTML documents. replaces them with their child nodes - htmlselect: prints all elements matching a selector from an HTML document - htmlindentheadings: indents (shifts) all h1-h7 elements by some level -- htmlattr: print attributes of top level nodes +- htmlattr: prints attributes of top level nodes You can find more info on how to use these tools in their [scdoc](https://git.sr.ht/~sircmpwn/scdoc) documents found in their respective subfolders. +The top level package also usable as a library. + ## Installation Either `go get` a specific tool like this: ``` -go get entf.net/htmltools/htmltotext +go get entf.net/htmltools/cmd/htmltotext ``` or clone the repository and run `make install`. The latter will install all the