Simple markup for formatting text, common in many applications, is now supported:
/italic/, *bold*, _underline_, =teletype=
will generate:
italic, bold, underline, teletype
Unlike QuickBook's standard formatting scheme, the rules for simpler alternatives are much stricter[1].
Table 11.1. More Formatting Samples
Markup |
Result |
---|---|
|
|
|
|
|
|
|
This*Isn't*Bold (no bold) |
|
(Bold Inside) (parenthesis not bold) |
|
|
|
3*4*5 = 60 (no bold) |
|
3 * 4 * 5 = 60 (no bold) |
|
3 4 5 = 60 (4 is bold) |
|
|
|
|
|
|
|
Bold-Italic |
|
|
As mentioned, simple markups cannot go past a single block. The text from "have" to "full" in the following paragraph will be rendered as bold:
Baa baa black sheep, *have you any wool? Yes sir, yes sir, three bags full!* One for the master, one for the dame, And one for the little boy who lives down the lane.
Baa baa black sheep, have you any wool? Yes sir, yes sir, three bags full! One for the master, one for the dame, And one for the little boy who lives down the lane.
But in the following paragraph, bold is not applied:
Baa baa black sheep, *have you any wool? Yes sir, yes sir, three bags full! One for the master, one for the dame, And one for the little boy who lives down the lane.
Baa baa black sheep, *have you any wool? Yes sir, yes sir, three bags full! One for the master, one for the dame, And one for the little boy who lives down the lane.