diff options
-rw-r--r-- | appendices/devbook-guide/text.xml | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/appendices/devbook-guide/text.xml b/appendices/devbook-guide/text.xml index bf9e50a..28fbacd 100644 --- a/appendices/devbook-guide/text.xml +++ b/appendices/devbook-guide/text.xml @@ -250,39 +250,6 @@ preserve their whitespace exactly, making them well-suited for code excerpts: </body> </subsection> <subsection> -<title><c>, <b>, and <e></title> -<body> - -<p> -The <c><c></c> element is used to mark up a <e>command</e> or <e>user -input</e>. Think of <c><c></c> as a way to alert the reader to something -that they can type in that will perform some kind of action. For example, all -the XML tags displayed in this document are enclosed in a <c><c></c> -element because they represent something that the user could type in that is -not a path. By using <c><c></c> elements, you'll help your readers -quickly identify commands that they need to type in. Also, because -<c><c></c> elements are already offset from regular text, <e>it is rarely -necessary to surround user input with double-quotes</e>. For example, don't -refer to a "<c><c></c>" element like I did in this sentence. Avoiding -the use of unnecessary double-quotes makes a document more readable <d/> and -adorable! -</p> - -<p> -As you might have guessed, <c><b></c> is used to <b>boldface</b> some -text. -</p> - -<p> -<c><e></c> is used to apply emphasis to a word or phrase; for example: -I <e>really</e> should use semicolons more often. As you can see, this text is -offset from the regular paragraph type for emphasis. This helps to give your -prose more <e>punch</e>! -</p> - -</body> -</subsection> -<subsection> <title>Code samples and colour-coding</title> <body> @@ -355,30 +322,6 @@ src_install() { </body> </subsection> <subsection> -<title><uri></title> -<body> - -<p> -The <c><uri></c> tag is used to point to files/locations on the Internet. -It has two forms <d/> the first can be used when you want to have the actual URI -displayed in the body text, such as this link to -<uri>https://www.gentoo.org/</uri>. To create this link, I typed -<c><uri>https://www.gentoo.org/</uri></c>. The alternate form is -when you want to associate a URI with some other text <d/> for example, -<uri link="https://www.gentoo.org/">the Gentoo Linux website</uri>. To create -<e>this</e> link, I typed <c><uri link="https://www.gentoo.org/">the -Gentoo Linux website</uri></c>. -</p> - -<p> -Please avoid the <uri link="https://en.wikipedia.org/wiki/Click_here">click here -syndrome</uri> as recommended by the <uri -link="https://www.w3.org/QA/Tips/noClickHere">W3C</uri>. -</p> - -</body> -</subsection> -<subsection> <title>Figures</title> <body> @@ -512,6 +455,63 @@ together: </body> </subsection> <subsection> +<title><c>, <b>, and <e></title> +<body> + +<p> +The <c><c></c> element is used to mark up a <e>command</e> or <e>user +input</e>. Think of <c><c></c> as a way to alert the reader to something +that they can type in that will perform some kind of action. For example, +all the XML tags displayed in this document are enclosed in a <c><c></c> +element because they represent something that the user could type in that is +not a path. By using <c><c></c> elements, you'll help your readers +quickly identify commands that they need to type in. Also, because +<c><c></c> elements are already offset from regular text, <e>it is rarely +necessary to surround user input with double-quotes</e>. For example, don't +refer to a "<c><c></c>" element like I did in this sentence. Avoiding +the use of unnecessary double-quotes makes a document more readable <d/> and +adorable! +</p> + +<p> +As you might have guessed, <c><b></c> is used to <b>boldface</b> some +text. +</p> + +<p> +<c><e></c> is used to apply emphasis to a word or phrase; for example: +I <e>really</e> should use semicolons more often. As you can see, this text is +offset from the regular paragraph type for emphasis. This helps to give your +prose more <e>punch</e>! +</p> + +</body> +</subsection> +<subsection> +<title><uri></title> +<body> + +<p> +The <c><uri></c> tag is used to point to files/locations on the Internet. +It has two forms <d/> the first can be used when you want to have the actual +URI displayed in the body text, such as this link to +<uri>https://www.gentoo.org/</uri>. To create this link, I typed +<c><uri>https://www.gentoo.org/</uri></c>. The alternate form is +when you want to associate a URI with some other text <d/> for example, +<uri link="https://www.gentoo.org/">the Gentoo Linux website</uri>. To create +<e>this</e> link, I typed <c><uri link="https://www.gentoo.org/">the +Gentoo Linux website</uri></c>. +</p> + +<p> +Please avoid the <uri link="https://en.wikipedia.org/wiki/Click_here">click +here syndrome</uri> as recommended by the +<uri link="https://www.w3.org/QA/Tips/noClickHere">W3C</uri>. +</p> + +</body> +</subsection> +<subsection> <title>Intra-document references</title> <body> |