1
1
---
2
2
hide :
3
3
- footer
4
+ tags :
5
+ - Ada
6
+ - Example
7
+ - Bash
4
8
---
5
9
6
- ![ Alice] ( img/Alice_Adventures-top-right-light.png#only-light ) { .alice align=right .off-glb }
7
- ![ Alice] ( img/Alice_Adventures-top-right-dark.png#only-dark ) { .alice align=right .off-glb }
10
+ --8<-- "docs/snippets/alice-header.md"
8
11
9
12
# MKDOCS & MATERIAL <br >THEME TEST
13
+ * Adventures for Learning and Inspiring Coding Excellence*
10
14
11
- ## Character
15
+ This file contains tests for ` mkdocs ` and ` material ` theme, with particular
16
+ instructions to manage images and publications with versions.
17
+
18
+ ## Formatting
12
19
13
20
### Basic Markdown
14
21
15
22
Text in __ bold__ and _ italic_ .
16
23
17
24
18
- ``` markdown
25
+ ``` md title="character"
19
26
Text in __bold__ and _italic_.
20
27
```
21
28
@@ -36,7 +43,7 @@ paragraphs.
36
43
37
44
Using the [ keys] extension one ca write keyboard commands:
38
45
39
- ```
46
+ ``` md title="keys"
40
47
Press ++ctrl+alt+"C"++ to exit.
41
48
```
42
49
51
58
\sigma^2 = \frac{1}{N-1} \sum_{i=1}^{N} (x_i - \bar{X})^2
52
59
$$
53
60
54
- ```
61
+ ``` md title="mathjax"
55
62
One can write maths like for $X = \{x_1, x_2, \ldots x_N\}$ with
56
63
$\bar{X} = 1/N \sum_{1}^{N}x_i$, variance is defined by
57
64
62
69
63
70
### Footnotes
64
71
65
- ``` title="Footnote "
72
+ ``` md title="footnote "
66
73
[^1]: Lorem Ipsum dolor sit amet, consectetur adipiscing elit.
67
74
```
68
75
@@ -149,15 +156,15 @@ And now jump to [Figure 1](#Figure-1)
149
156
#### Basic block
150
157
151
158
152
- ``` ada
159
+ ``` ada title="package"
153
160
package Hello_World is
154
161
procedure Say_Hello;
155
162
end Hello_World;
156
163
```
157
164
158
165
#### Code with line numbers
159
166
160
- ``` ada linenums="1"
167
+ ``` ada linenums="1" title="with lines"
161
168
package Hello_World is
162
169
procedure Say_Hello;
163
170
end Hello_World;
@@ -185,19 +192,19 @@ And now jump to [Figure 1](#Figure-1)
185
192
186
193
``` ada linenums="1" title="Nice example" hl_lines="1 2"
187
194
package Hello_World is
188
- procedure Say_Hello; -- (1)!
189
- end Hello_World;
195
+ procedure Say_Hello;
196
+ end Hello_World; -- (1)!
190
197
```
191
198
192
- 1 . This is the classic procedure to write ` Text_IO.Put_Line ("Hello, world"); `
199
+ 1 . This line defines the end of the ` Hello_World ` package.
193
200
194
201
#### Code including an external file
195
202
196
203
!!! Note inline end
197
204
Note that line 14 (highlighted) clearly shows _ font ligatures_ enabled.
198
205
199
206
``` js linenums="1" title="Javascript to enable MathJax" hl_lines="14"
200
- -- 8 < -- " javascripts/mathjax.js"
207
+ -- 8 < -- " docs/ javascripts/mathjax.js"
201
208
```
202
209
203
210
0 commit comments