Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

groff

< >

groff is a text markup language created in 1990.

#505on PLDB 34Years Old
Download source code:
git clone https://git.savannah.gnu.org/git/groff.git/
Homepage · Source Code · Wikipedia · Subreddit · Docs

Groff (GNU troff) is a typesetting system that reads plain text mixed with formatting commands and produces formatted output. Output may be PostScript or PDF, html, or ASCII/UTF8 for display at the terminal. Formatting commands may be either low-level typesetting requests (“primitives”) or macros from a supplied set. Users may also write their own macros. All three may be combined.


Example from the web:
.sp 1.5i My thoughts on the subject .sp

Language features

Feature Supported Example Token
MultiLine Comments text text text... .ig This is part of a large block of text that has been temporarily(?) commented out. We can restore it simply by removing the .ig request and the ".." at the end of the block. .. .ig
Macros .de P . br . sp .8v ..
Comments Test \" comment Test Test \# comment Test
View source
- Build the next great programming language · About · Keywords · Resources · Acknowledgements · Part of the World Wide Scroll