diff --git a/README.md b/README.md new file mode 100644 index 0000000..98b5d5f --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# man-to-html + +Opinionated man page (roff) to html converter. + +### Usage +Here's how [my man page](https://man.eddie.sh) is created: +```bash +./man-to-html edward-shen.man index.html edward-shen "Edward Shen Manual" +``` + +You can also specify version number, page number, and date: +```bash +./man-to-html edward-shen.man index.html edward-shen "Edward Shen Manual" 4.2.0 1 "January 1st, 1970" + +### Prereqs + +- `pandoc` + + + diff --git a/index.html b/index.html index b9181a3..c204b61 100644 --- a/index.html +++ b/index.html @@ -15,12 +15,21 @@ body, p, h1 { } body { margin: 1rem } p { margin-left: 7ch; margin-bottom: 1rem } -.formatted { margin-left: 0; white-space: pre } +.formatted { + width: 80ch; + max-width: 80ch; + display: flex; + justify-content: space-between; +} +.formatted p { margin-left: 0; width:max-content }
-EDWARD-SHEN(7) Edward Shen Manual EDWARD-SHEN(7)
- +EDWARD-SHEN(7)
+Edward Shen Manual
+EDWARD-SHEN(7)
+edward-shen - some random software developer
We would also like to thank all contributors and friends who had helped develop Edward Shen.
This man page is under GPLv3 or later. To use Edward Shen for any purpose, please contact Edward Shen <code@eddie.sh> to request a license.
- -3.2.4 2019-04-10 EDWARD-SHEN(7)
+3.2.4
+2019-04-11
+EDWARD-SHEN(7)
+