-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroffhl.1
More file actions
56 lines (56 loc) · 1.26 KB
/
groffhl.1
File metadata and controls
56 lines (56 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH GROFFHL 1 2021-04-16 "groffhl-VERSION"
.SH NAME
groffhl - convert truecolor escape sequences into native groff format
.SH SYNOPSIS
.B groffhl
.I FILE
.SH DESCRIPTION
.P
.B groffhl
is a small program for converting Linux "truecolor" escape
sequences into native groff format. You can then take the output and
paste it into another groff document.
.P
.B groffhl
does not perform syntax highlighting, this job is left to some
external tool, like
.UR "http://www.andre-simon.de/doku/highlight/en/highlight.php"
.B highlight
.UE
\&.
.SH EXAMPLE
.TP
Short answer:
.EX
$ highlight -O truecolor your_code.txt >highlighted.txt
$ groffhl highlighted.txt >highlighted.groff
.EE
.P
A more verbose example is written out in the
.I README.MD
file.
.br
You can also view it
.UR "https://github.com/Randoragon/groffhl/blob/master/README.MD"
.I here
.UE
.SH BUGS
.P
Bold/italic sequences, among many other variants, are not supported.
This may change in the future, depending on the author's demand for
more advanced features.
.P
You can report any bugs directly to the author, or by opening an issue
on GitHub. Contact info below.
.SH AUTHORS
.P
.B groffhl
was written by
.MT "randoragongamedev@gmail.com"
Randoragon
.ME
.br
Browse the source code at
.UR "https://github.com/randoragon/groffhl"
GitHub
.UE