|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | 3 | exports[`Alerts should render nested notes 1`] = ` |
4 | | -<div class="yfm-note yfm-accent-info" |
5 | | - note-type="info" |
6 | | -> |
7 | | - <p class="yfm-note-title"> |
8 | | - Outer title |
9 | | - </p> |
10 | | - <div class="yfm-note-content"> |
11 | | - <p> |
12 | | - Outer content |
| 4 | +<div class="yfm-note-container"> |
| 5 | + <div class="yfm-note yfm-accent-info" |
| 6 | + note-type="info" |
| 7 | + > |
| 8 | + <p class="yfm-note-title"> |
| 9 | + Outer title |
13 | 10 | </p> |
14 | | - <div class="yfm-note yfm-accent-info" |
15 | | - note-type="info" |
16 | | - > |
17 | | - <p class="yfm-note-title"> |
18 | | - Inner title |
| 11 | + <div class="yfm-note-content"> |
| 12 | + <p> |
| 13 | + Outer content |
19 | 14 | </p> |
20 | | - <div class="yfm-note-content"> |
21 | | - <p> |
22 | | - Inner content |
23 | | - </p> |
| 15 | + <div class="yfm-note-container"> |
| 16 | + <div class="yfm-note yfm-accent-info" |
| 17 | + note-type="info" |
| 18 | + > |
| 19 | + <p class="yfm-note-title"> |
| 20 | + Inner title |
| 21 | + </p> |
| 22 | + <div class="yfm-note-content"> |
| 23 | + <p> |
| 24 | + Inner content |
| 25 | + </p> |
| 26 | + </div> |
| 27 | + </div> |
24 | 28 | </div> |
25 | 29 | </div> |
26 | 30 | </div> |
27 | 31 | </div> |
28 | 32 | `; |
29 | 33 |
|
30 | 34 | exports[`Alerts should render note with empty string title 1`] = ` |
31 | | -<div class="yfm-note yfm-accent-info" |
32 | | - note-type="info" |
33 | | -> |
34 | | - <div class="yfm-note-content"> |
35 | | - <p> |
36 | | - Note content with empty string title |
37 | | - </p> |
| 35 | +<div class="yfm-note-container"> |
| 36 | + <div class="yfm-note yfm-accent-info" |
| 37 | + note-type="info" |
| 38 | + > |
| 39 | + <div class="yfm-note-content"> |
| 40 | + <p> |
| 41 | + Note content with empty string title |
| 42 | + </p> |
| 43 | + </div> |
38 | 44 | </div> |
39 | 45 | </div> |
40 | 46 | `; |
41 | 47 |
|
42 | 48 | exports[`Alerts should render note without title (notesAutotitle: false) 1`] = ` |
43 | | -<div class="yfm-note yfm-accent-info" |
44 | | - note-type="info" |
45 | | -> |
46 | | - <div class="yfm-note-content"> |
47 | | - <p> |
48 | | - Note content without title |
49 | | - </p> |
| 49 | +<div class="yfm-note-container"> |
| 50 | + <div class="yfm-note yfm-accent-info" |
| 51 | + note-type="info" |
| 52 | + > |
| 53 | + <div class="yfm-note-content"> |
| 54 | + <p> |
| 55 | + Note content without title |
| 56 | + </p> |
| 57 | + </div> |
50 | 58 | </div> |
51 | 59 | </div> |
52 | 60 | `; |
53 | 61 |
|
54 | 62 | exports[`Alerts should render note without title (notesAutotitle: true) 1`] = ` |
55 | | -<div class="yfm-note yfm-accent-info" |
56 | | - note-type="info" |
57 | | -> |
58 | | - <p class="yfm-note-title"> |
59 | | - Примечание |
60 | | - </p> |
61 | | - <div class="yfm-note-content"> |
62 | | - <p> |
63 | | - Note content without title |
| 63 | +<div class="yfm-note-container"> |
| 64 | + <div class="yfm-note yfm-accent-info" |
| 65 | + note-type="info" |
| 66 | + > |
| 67 | + <p class="yfm-note-title"> |
| 68 | + Примечание |
64 | 69 | </p> |
| 70 | + <div class="yfm-note-content"> |
| 71 | + <p> |
| 72 | + Note content without title |
| 73 | + </p> |
| 74 | + </div> |
65 | 75 | </div> |
66 | 76 | </div> |
67 | 77 | `; |
68 | 78 |
|
69 | 79 | exports[`Alerts should render siblings notes 1`] = ` |
70 | | -<div class="yfm-note yfm-accent-info" |
71 | | - note-type="info" |
72 | | -> |
73 | | - <p class="yfm-note-title"> |
74 | | - Note title 1 |
75 | | - </p> |
76 | | - <div class="yfm-note-content"> |
77 | | - <p> |
78 | | - Note content 1 |
| 80 | +<div class="yfm-note-container"> |
| 81 | + <div class="yfm-note yfm-accent-info" |
| 82 | + note-type="info" |
| 83 | + > |
| 84 | + <p class="yfm-note-title"> |
| 85 | + Note title 1 |
79 | 86 | </p> |
| 87 | + <div class="yfm-note-content"> |
| 88 | + <p> |
| 89 | + Note content 1 |
| 90 | + </p> |
| 91 | + </div> |
80 | 92 | </div> |
81 | 93 | </div> |
82 | | -<div class="yfm-note yfm-accent-info" |
83 | | - note-type="info" |
84 | | -> |
85 | | - <p class="yfm-note-title"> |
86 | | - Note title 2 |
87 | | - </p> |
88 | | - <div class="yfm-note-content"> |
89 | | - <p> |
90 | | - Note content 2 |
| 94 | +<div class="yfm-note-container"> |
| 95 | + <div class="yfm-note yfm-accent-info" |
| 96 | + note-type="info" |
| 97 | + > |
| 98 | + <p class="yfm-note-title"> |
| 99 | + Note title 2 |
91 | 100 | </p> |
| 101 | + <div class="yfm-note-content"> |
| 102 | + <p> |
| 103 | + Note content 2 |
| 104 | + </p> |
| 105 | + </div> |
92 | 106 | </div> |
93 | 107 | </div> |
94 | 108 | `; |
95 | 109 |
|
96 | 110 | exports[`Alerts should render simple note 1`] = ` |
97 | | -<div class="yfm-note yfm-accent-info" |
98 | | - note-type="info" |
99 | | -> |
100 | | - <p class="yfm-note-title"> |
101 | | - Note title |
102 | | - </p> |
103 | | - <div class="yfm-note-content"> |
104 | | - <p> |
105 | | - Note content |
| 111 | +<div class="yfm-note-container"> |
| 112 | + <div class="yfm-note yfm-accent-info" |
| 113 | + note-type="info" |
| 114 | + > |
| 115 | + <p class="yfm-note-title"> |
| 116 | + Note title |
106 | 117 | </p> |
| 118 | + <div class="yfm-note-content"> |
| 119 | + <p> |
| 120 | + Note content |
| 121 | + </p> |
| 122 | + </div> |
107 | 123 | </div> |
108 | 124 | </div> |
109 | 125 | `; |
110 | 126 |
|
111 | 127 | exports[`Alerts should render title with format 1`] = ` |
112 | | -<div class="yfm-note yfm-accent-info" |
113 | | - note-type="info" |
114 | | -> |
115 | | - <p class="yfm-note-title"> |
116 | | - <em> |
117 | | - Italic note title |
118 | | - </em> |
119 | | - </p> |
120 | | - <div class="yfm-note-content"> |
121 | | - <p> |
122 | | - Content |
| 128 | +<div class="yfm-note-container"> |
| 129 | + <div class="yfm-note yfm-accent-info" |
| 130 | + note-type="info" |
| 131 | + > |
| 132 | + <p class="yfm-note-title"> |
| 133 | + <em> |
| 134 | + Italic note title |
| 135 | + </em> |
123 | 136 | </p> |
| 137 | + <div class="yfm-note-content"> |
| 138 | + <p> |
| 139 | + Content |
| 140 | + </p> |
| 141 | + </div> |
124 | 142 | </div> |
125 | 143 | </div> |
126 | 144 | `; |
0 commit comments