Skip to content

Commit c7824a2

Browse files
committed
- [#] update README
1 parent d16838c commit c7824a2

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

README.e.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11

22
## {{toc 5}}
33

4+
- [Install Debian/Ubuntu package](#install-debianubuntu-package)
5+
- [Download/install binaries](#downloadinstall-binaries)
6+
- [The binary executables](#the-binary-executables)
7+
- [Distro package](#distro-package)
8+
- [Debian package](#debian-package)
9+
- [Install Source](#install-source)
10+
- [Author](#author)
11+
- [Contributors](#contributors-)
12+
413
## {{.Name}} - HTML to Markdown converter
514

615
The `{{.Name}}` makes use of `github.com/JohannesKaufmann/html-to-markdown`

README.end.e.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
## Install Debian/Ubuntu package
3+
4+
sudo apt install -y {{.Name}}
5+
26
## Download/install binaries
37

48
- The latest binary executables are available

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
- [Credits](#credits-1)
2525
- [Similar Projects](#similar-projects)
2626

27+
- [Install Debian/Ubuntu package](#install-debianubuntu-package)
28+
- [Download/install binaries](#downloadinstall-binaries)
29+
- [The binary executables](#the-binary-executables)
30+
- [Distro package](#distro-package)
31+
- [Debian package](#debian-package)
32+
- [Install Source](#install-source)
33+
- [Author](#author)
34+
- [Contributors](#contributors-)
35+
2736
## html2md - HTML to Markdown converter
2837

2938
The `html2md` makes use of `github.com/JohannesKaufmann/html-to-markdown`
@@ -37,7 +46,7 @@ to convert HTML into Markdown, which is using an [HTML Parser](https://github.co
3746
### $ html2md
3847
```sh
3948
HTML to Markdown
40-
Version 1.0.0 built on 2023-05-02
49+
Version 1.1.0 built on 2023-05-03
4150
Copyright (C) 2020-2023, Tong Sun
4251

4352
HTML to Markdown converter on command line
@@ -51,6 +60,8 @@ Options:
5160
-i, --in *The html/xml file to read from (or stdin)
5261
-d, --domain Domain of the web page, needed for links when --in is not url
5362
-s, --sel CSS/goquery selectors [=body]
63+
-x, --excl Excluding CSS/goquery selectors
64+
--xc Excluding all children nodes
5465
-v, --verbose Verbose mode (Multiple -v options increase the verbosity.)
5566

5667
--opt-heading-style Option HeadingStyle
@@ -162,6 +173,10 @@ $ cat $GOPATH/src/github.com/JohannesKaufmann/html-to-markdown/testdata/TestPlug
162173
- [lunny/html2md](https://github.com/lunny/html2md), which is using [regex instead of goquery](https://stackoverflow.com/a/1732454), which exhibits a few edge cases which prompted `github.com/JohannesKaufmann/html-to-markdown`
163174
- [jaytaylor/html2text](https://github.com/jaytaylor/html2text), which is not converting to markdown but plain text.
164175

176+
## Install Debian/Ubuntu package
177+
178+
sudo apt install -y html2md
179+
165180
## Download/install binaries
166181

167182
- The latest binary executables are available

0 commit comments

Comments
 (0)