You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.4 KiB

4 years ago
////
Included in:
- user-manual: Literal Text and Blocks
- quick-syntax
////
// tag::imp[]
~/secure/vault/defops
// end::imp[]
// tag::b-imp[]
A normal paragraph.
A paragraph offset by at least one space becomes a literal paragraph.
All lines in a literal paragraph must be adjacent.
A literal paragraph is displayed as preformatted text.
The text is shown in a fixed-width font.
Spaces and newlines,
like the ones in this sentence,
are preserved.
Another normal paragraph.
// end::b-imp[]
// tag::b-imp-code[]
Indent the line one space to insert a code snippet
// end::b-imp-code[]
// tag::para[]
[literal]
error: The requested operation returned error: 1954 Forbidden search for defensive operations manual
absolutely fatal: operation initiation lost in the dodecahedron of doom
would you like to die again? y/n
// end::para[]
// tag::block[]
....
Lazarus: Where is the *defensive operations manual*?
Computer: Calculating ...
Can not locate object that you are not authorized to know exists.
Would you like to ask another question?
Lazarus: Did the werewolves tell you to say that?
Computer: Calculating ...
....
// end::block[]
// tag::b-block[]
....
error: The requested operation returned error: 1954 Forbidden search for defensive operations manual
absolutely fatal: operation initiation lost in the dodecahedron of doom
would you like to die again? y/n
....
// end::b-block[]