To install HtmGem

 

https://tildegit.org/sbgodin/HtmGem/archive/master.zip

 

 

Prerequisites

 

 

Nginx

index index.gmi index.php index.html
rewrite ^(.+\.gmi)$ /htmgem/index.php?rw=1&url=$1&style=default,htmgem.css;
error_page 403 /htmgem;
location = /favicon.ico { alias /var/www/dev/htmgem/favicon.ico; }

 

Apache

DirectoryIndex index.gmi index.php index.html
RewriteEngine on
RewriteRule ^(.+\.gmi)$ htmgem/index.php?rw=1&url=$1&style=default,htmgem.css

 

Other available styles:

 

Text decoration

 

The text decoration, which interprets the bold for instance, is not part of GemText definition. The text decoration applies everywhere except on the titles and preformated texts.

 

It's possible to disable the text decoration with a line ^^^ or add to the URL rewriting:

&textDecoration=0

 

 

Styles

 

How to make GemText pages?