diff options
Diffstat (limited to 'overview.html')
-rw-r--r-- | overview.html | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/overview.html b/overview.html index 23cec9c..e9199c7 100644 --- a/overview.html +++ b/overview.html @@ -153,9 +153,11 @@ A beautifully styled message. ``` </code></pre> <p>into this:</p> -<div class="admonition info"> +<div id="admonition-info" class="admonition info"> <div class="admonition-title"> +<a class="admonition-anchor-link" href="#admonition-info"> <p>Info</p> +</a> </div> <div> <p>A beautifully styled message.</p> @@ -167,9 +169,11 @@ A beautifully styled message. My example is the best! ``` </code></pre> -<div class="admonition example"> +<div id="admonition-example" class="admonition example"> <div class="admonition-title"> +<a class="admonition-anchor-link" href="#admonition-example"> <p>Example</p> +</a> </div> <div> <p>My example is the best!</p> @@ -188,9 +192,11 @@ My example is the best! A plain note. ``` </code></pre> -<div class="admonition note"> +<div id="admonition-note" class="admonition note"> <div class="admonition-title"> +<a class="admonition-anchor-link" href="#admonition-note"> <p>Note</p> +</a> </div> <div> <p>A plain note.</p> @@ -204,9 +210,11 @@ Note that JSON escapes must be escaped again - for instance, write <code>\" The following steps can lead to irrecoverable data corruption. ``` </code></pre> -<div class="admonition warning"> +<div id="admonition-data-loss" class="admonition warning"> <div class="admonition-title"> +<a class="admonition-anchor-link" href="#admonition-data-loss"> <p>Data loss</p> +</a> </div> <div> <p>The following steps can lead to irrecoverable data corruption.</p> @@ -217,7 +225,7 @@ The following steps can lead to irrecoverable data corruption. This will take a while, go and grab a drink of water. ``` </code></pre> -<div class="admonition success"> +<div id="admonition-default" class="admonition success"> <div> <p>This will take a while, go and grab a drink of water.</p> </div> @@ -229,9 +237,11 @@ The opposite of *referencing* by using `&` is *dereferencing*, which is accomplished with the <span style="color: hotpink">dereference operator</span>, `*`. ``` </code></pre> -<div class="admonition tip"> +<div id="admonition-_referencing_-and-dereferencing" class="admonition tip"> <div class="admonition-title"> +<a class="admonition-anchor-link" href="#admonition-_referencing_-and-dereferencing"> <p><em>Referencing</em> and <i>dereferencing</i></p> +</a> </div> <div> <p>The opposite of <em>referencing</em> by using <code>&</code> is <em>dereferencing</em>, which is @@ -246,9 +256,11 @@ print "Hello, world!" ``` ~~~ </code></pre> -<div class="admonition bug"> +<div id="admonition-bug" class="admonition bug"> <div class="admonition-title"> +<a class="admonition-anchor-link" href="#admonition-bug"> <p>Bug</p> +</a> </div> <div> <p>This syntax won't work in Python 3:</p> |