1 | cases:
|
2 | - title: Inline Abbreviation
|
3 | id: abbreviation
|
4 | mdast:
|
5 | type: root
|
6 | children:
|
7 | - type: paragraph
|
8 | children:
|
9 | - type: text
|
10 | value: 'Well '
|
11 | - type: mystRole
|
12 | name: abbr
|
13 | value: CSS (Cascading Style Sheets)
|
14 | children:
|
15 | - type: abbreviation
|
16 | title: Cascading Style Sheets
|
17 | children:
|
18 | - type: text
|
19 | value: CSS
|
20 | - type: text
|
21 | value: ' is cool?'
|
22 | myst: |-
|
23 | Well {abbr}`CSS (Cascading Style Sheets)` is cool?
|
24 | html: |-
|
25 | <p>Well <abbr title="Cascading Style Sheets">CSS</abbr> is cool?</p>
|
26 |
|
27 | - title: Abbreviation Without Title
|
28 | mdast:
|
29 | type: root
|
30 | children:
|
31 | - type: paragraph
|
32 | children:
|
33 | - type: text
|
34 | value: 'Well '
|
35 | - type: mystRole
|
36 | name: abbr
|
37 | value: CSS
|
38 | children:
|
39 | - type: abbreviation
|
40 | children:
|
41 | - type: text
|
42 | value: CSS
|
43 | - type: text
|
44 | value: ' is cool?'
|
45 | myst: |-
|
46 | Well {abbr}`CSS` is cool?
|
47 | html: |-
|
48 | <p>Well <abbr>CSS</abbr> is cool?</p>
|
49 |
|
50 | - title: Abbreviation with poor brackets
|
51 | mdast:
|
52 | type: root
|
53 | children:
|
54 | - type: paragraph
|
55 | children:
|
56 | - type: mystRole
|
57 | name: abbr
|
58 | value: CSS (Cascading) Style( Sheets)
|
59 | children:
|
60 | - type: abbreviation
|
61 | title: Sheets
|
62 | children:
|
63 | - type: text
|
64 | value: CSS (Cascading) Style
|
65 | myst: |-
|
66 | {abbr}`CSS (Cascading) Style( Sheets)`
|
67 | html: |-
|
68 | <p><abbr title="Sheets">CSS (Cascading) Style</abbr></p>
|