all repos — honk @ a858688ce680def0d7b5c6ba8ec274518022a16c

my fork of honk

mention syntax highlighting in docs
Ted Unangst tedu@tedunangst.com
Thu, 10 Oct 2019 00:54:46 -0400
commit

a858688ce680def0d7b5c6ba8ec274518022a16c

parent

d5ee5c61dff0a95a4cbbf3482de3d6b3a88b2980

2 files changed, 9 insertions(+), 4 deletions(-)

jump to
M docs/activitypub.7docs/activitypub.7

@@ -71,9 +71,14 @@ strong, em, b, i, s, u, sub, sup, del, tt, small,

ol, ul, li, dl, dt, dd .Ed .Pp -The followin tag attributes are permitted. +The following tag attributes are permitted. .Bd -literal -offset indent href, src, alt, colspan, rowspan +.Ed +.Pp +The following class names are used for syntax highlighting code blocks. +.Bd -literal -offset indent +kw, bi, st, nm, tp, op, cm, al, dl .Ed .Ss ACTIVITIES The following activities are supported.
M docs/honk.5docs/honk.5

@@ -39,9 +39,9 @@ > This text is quoted.

.It code Inline `code fragments` with single ticks. .Bd -literal -``` -Large code blocks -with triple ticks. +```c +/* triple tick code blocks support syntax highlighting */ +int main() { return 0; } ``` .Ed .It links