mention syntax highlighting in docs

This commit is contained in:
Ted Unangst 2019-10-10 00:54:46 -04:00
parent b32b7b9dcc
commit 9dc660f5be
2 changed files with 9 additions and 4 deletions

View File

@ -71,10 +71,15 @@ strong, em, b, i, s, u, sub, sup, del, tt, small,
ol, ul, li, dl, dt, dd ol, ul, li, dl, dt, dd
.Ed .Ed
.Pp .Pp
The followin tag attributes are permitted. The following tag attributes are permitted.
.Bd -literal -offset indent .Bd -literal -offset indent
href, src, alt, colspan, rowspan href, src, alt, colspan, rowspan
.Ed .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 .Ss ACTIVITIES
The following activities are supported. The following activities are supported.
.Bl -tag -width tenletters .Bl -tag -width tenletters

View File

@ -39,9 +39,9 @@ A subset of markdown is supported.
.It code .It code
Inline `code fragments` with single ticks. Inline `code fragments` with single ticks.
.Bd -literal .Bd -literal
``` ```c
Large code blocks /* triple tick code blocks support syntax highlighting */
with triple ticks. int main() { return 0; }
``` ```
.Ed .Ed
.It links .It links