Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ratfactor/tjr

A (g)roff pre-processor for text output
https://github.com/ratfactor/tjr

Last synced: 3 months ago
JSON representation

A (g)roff pre-processor for text output

Awesome Lists containing this project

README

        

# Text Junior Readme

This is tjr ("Text Junior"), a program that pre-processes a crazy-simple line-based input format as *roff output (tested with groff).

This readme file is also a test input for tjr. It was created with this command:

```
./tjr readme-source.tjr | groff -Tascii > readme.txt
```

## Why use Groff?

Groff already knows how to do stuff like text filling and justification.
So why would we want to duplicate that work?
We wouldn't.

### This is a sub-heading

The first stable version, 1.04, was announced in November 1991. groff was developed as free software to provide an easily obtained replacement for the standard AT&T troff/nroff package, which at the time was proprietary, and was not always available even on branded UNIX systems.

### Preformatted text

Also known code blocks, these chunks are so pleasant to look at:

```
_ _
| | (_)
| |_ _ _ __
| __| | '__|
| |_| | |
\__| |_|
_/ |
|__/

```

Gosh, Figlet makes everything feel wonderful.

### How about a nice quote?

"""
You know how the biggest paragraphs always get a lot of attention and the little verbs and nouns go into the cave to explode?
Well, that's how it goes.
Don't worry about it.

-Text Junior
"""

That's about it.
Really.
Enjoy?