diff --git a/README.md b/README.md index 54bfdcf..350ab3d 100644 --- a/README.md +++ b/README.md @@ -19,21 +19,18 @@ The resulting binary is available as `~/go/bin/gmitohtml`. ## Usage +Run daemon at [http://localhost:1967](http://localhost:1967): + +```bash +gmitohtml --daemon=localhost:1967 +``` + Convert a single document: ```bash gmitohtml < document.gmi ``` -Run as daemon at `http://localhost:8080`: - -```bash -# Start the daemon: -gmitohtml --daemon=localhost:8080 -# Access via browser: -xdg-open http://localhost:8080/gemini/twins.rocketnine.space/ -``` - ## Support Please share issues and suggestions [here](https://gitlab.com/tslocum/gmitohtml/issues). diff --git a/pkg/gmitohtml/assets.go b/pkg/gmitohtml/assets.go index 5fd034e..d7d6e3c 100644 --- a/pkg/gmitohtml/assets.go +++ b/pkg/gmitohtml/assets.go @@ -2,27 +2,38 @@ package gmitohtml var fs = make(inMemoryFS) -const indexPage = ` +const pageHeader = `
-