the big pre/code/monospace switch
This commit is contained in:
@@ -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**
|
||||
|
||||
|
||||
@@ -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**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user