---
name: "gjots2html"
section: "1"
platform: "linux"
package: "gjots2"
version: "3.0.2-0.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/gjots2html"
---

# gjots2html(1)

Convert a gjotsfile to HTML (on stdout)

## NAME

gjots2html - Convert a gjotsfile to HTML (on  **stdout**)

## SYNOPSIS

**gjots2html** { **-lc** \] \[ **-t** *title* \] \[ **-i** *level* } \[ *gjotsfile* \]

## DESCRIPTION

**gjots2html** converts a gjotsfile into HTML with a table of contents.

Presently up to 8 levels of table of contents subject tree are supported.

**gjotsfile** uses [**m4**(1)](/m4/1.md) and [**awk**(1)](/awk/1.md)

## OPTIONS

- **-l**

  adds  *\<HR\>* lines after each section.

- **-c**

  adds a link to the TABLE OF CONTENTS after each section.

- **-t** *title*

  adds a title to the page

- **-i** *level*

  Creates the table of contents down to that level of heading. The default is to include all headings.

## AUTHOR

Written by Bob Hepple \<bhepple@freeshell.org\>

http://bhepple.freeshell.org/gjots

## COPYRIGHT

Copyright (c) 2002-2011 Robert Hepple\
 This  is  free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO

**gjots**(1), [**gjots2docbook**(1)](/gjots2docbook/1.md), [**docbook2gjots**(1)](/docbook2gjots/1.md), **gjots2html.py**(1)
