pandoc/test/command/3568.md
John MacFarlane c40727bfbb Man writer: use custom font V for inline code.
The V font is defined conditionally, so that it renders
like CB in output formats that support that, and like B
in those that don't (e.g. the terminal).

We could just redefine C, but this would affect code
blocks, too, and putting them all in boldface looks ugly,
I think.

Possible drawback: fragments created by pandoc's man
writer will presuppose a nonstandard V font.

Closes #7506.
Supersedes 253467a549.
2022-01-15 12:39:19 -08:00

16 lines
323 B
Markdown

```
% pandoc -t man
normal *italic **bold in the middle** only italic* normal.
normal **bold `code` more bold** normal.
normal `code` normal.
^D
.PP
normal \f[I]italic \f[BI]bold in the middle\f[I] only italic\f[R]
normal.
.PP
normal \f[B]bold \f[VB]code\f[B] more bold\f[R] normal.
.PP
normal \f[V]code\f[R] normal.
```