diff --git a/README.md b/README.md index acf588b..1fb3c5c 100644 --- a/README.md +++ b/README.md @@ -24,68 +24,57 @@ gemtext2gophermap input.gmi output_gophermap [max line length (default 70)] [pre ## Example -### Input Gemtext -_input.gmi_ -````gemtext -Everything until the first in the map file will be put in place of the insert-gopher tag. +**input.gmi** +````markdown +Everything until the first in the map file will be put in place of the following insert-gopher tag. -```html -``` -The following -``` - -```html -``` -> Here, the contents after the first break in the map file will be put +> Everything after the first in the map file: -```html -``` ```` -### A map file -_map.txt_ +**map.txt** ```gophermap -iIf your Gopher server supports running PHP it should have printed the current date. /FAKE NULL 0 +A line from map.txt ``` -### Command +> If a line in map.txt isn't in format `i /PATH host 123` it **will not** automatically get converted into that format, +> your **server is expected to do that** or you should write that explicitly in the map.txt file. +> +> This has been done to allow injecting PHP scripts. +> (to avoid: `i in the map file will be put in /FAKE NULL 0 -iplace of the insert-gopher tag. /FAKE NULL 0 - +iplace of the following insert-gopher tag. /FAKE NULL 0 -iThe following