si3t.ch> cd /


gmi2xhtml

=========

gmi2xhtml is an awk script to convert gemtext to strict xhtml (compatible html).

Some extras were added :

Some options are availables :

# -v dotoc=1 
#	generate a table of contents at the end of the document
#	toc is in a ul with "toc" id,
#	Add anywhere a link pointing to href="toc" to display it with the 
#	following CSS example: 
#	#toc{
#		visibility:hidden;
#		position:fixed;
#		z-index:+1;
#		width:100%;
#		height:100%;
#		visibility:hidden;
#	}
#	#toc:target { visibility:visible; }
#
# -v tocminhead=5
#	minimum number of header to display the table of contents
#	default: 5
#
# -v anchors=0
#	set to 1 to enable
#	display anchor links in headers, 
#	with class "anchor" (for css)

Download gmi2xhtml