the big pre/code/monospace switch

This commit is contained in:
skyanth
2017-02-24 16:47:00 +01:00
parent b5fa8c53b9
commit a43b364fd1
10 changed files with 33 additions and 56 deletions
+4 -5
View File
@@ -197,7 +197,6 @@ As said, after the title, anything goes (well, almost):
- lists (ordered `<ol>` or unordered `<ul>`)
- tables (`<table>`)
- command input/output boxes (`<pre>`)
- code (`<code>`)
- div containers (`<div>`)
- A section can contain a signing box for the offerte itself (`<generate_offer_signature_box/>`)
- A section can contain a listing of targets, taken from the
@@ -314,7 +313,7 @@ You can use `<div>` as a container for other block elements. This is basically o
#### So what's allowed in `<div>`?
All block elements: `<p>`, `<ul>`, `<ol>`, `<table>`, `<img>`, `<pre>`, `<code>`
All block elements: `<p>`, `<ul>`, `<ol>`, `<table>`, `<img>`, `<pre>`
#### And what elements can *contain* `<div>`?
@@ -491,13 +490,13 @@ Example:
`<p><u>This text is underlined</u> and this text is not.</p>`
**Monospace**
**Monospace/code font**
To have inline text in a monospace font, wrap it in `<monospace>` tags.
To have inline text in a monospace font, wrap it in `<code>` tags.
Example:
`<p><monospace>This text is monospace</monospace> and this text is not.</p>`
`<p><code>This text is monospace</code> and this text is not.</p>`
**Superscript**
+4 -4
View File
@@ -691,7 +691,7 @@ You can use `<div>` as a container for other block elements. This is basically o
#### So what's allowed in `<div>`?
All block elements: `<p>`, `<ul>`, `<ol>`, `<table>`, `<img>`, `<pre>`, `<code>`
All block elements: `<p>`, `<ul>`, `<ol>`, `<table>`, `<img>`, `<pre>`
#### And what elements can *contain* `<div>`?
@@ -870,13 +870,13 @@ Example:
`<p><u>This text is underlined</u> and this text is not.</p>`
**Monospace**
**Monospace/code font**
To have inline text in a monospace font, wrap it in `<monospace>` tags.
To have inline text in a monospace font, wrap it in `<code>` tags.
Example:
`<p><monospace>This text is monospace</monospace> and this text is not.</p>`
`<p><code>This text is monospace</code> and this text is not.</p>`
**Superscript**