Skip to content

Commit 9eece5b

Browse files
committed
👟 Fix spec errors
1 parent 57d7b11 commit 9eece5b

File tree

1 file changed

+66
-12
lines changed

1 file changed

+66
-12
lines changed

src/__snapshots__/convert.spec.js.snap

Lines changed: 66 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,17 @@ exports[`convert happily renders its own homepage renders as expected within Rea
134134
</a>
135135
</p>
136136
</center>
137-
<h3>
138-
welcome.mdx
137+
<h3
138+
id="welcomemdx"
139+
>
140+
<a
141+
aria-hidden="true"
142+
className="header-anchor"
143+
href="#welcomemdx"
144+
>
145+
🔗
146+
</a>
147+
welcome.mdx
139148
</h3>
140149
<pre>
141150
<code
@@ -151,8 +160,17 @@ exports[`convert happily renders its own homepage renders as expected within Rea
151160
<br />
152161
</code>
153162
</pre>
154-
<h3>
155-
app.jsx
163+
<h3
164+
id="appjsx"
165+
>
166+
<a
167+
aria-hidden="true"
168+
className="header-anchor"
169+
href="#appjsx"
170+
>
171+
🔗
172+
</a>
173+
app.jsx
156174
</h3>
157175
<pre>
158176
<code
@@ -180,8 +198,17 @@ exports[`convert happily renders its own homepage renders as expected within Rea
180198
<br />
181199
</code>
182200
</pre>
183-
<h3>
184-
Rendered:
201+
<h3
202+
id="rendered"
203+
>
204+
<a
205+
aria-hidden="true"
206+
className="header-anchor"
207+
href="#rendered"
208+
>
209+
🔗
210+
</a>
211+
Rendered:
185212
</h3>
186213
<pre>
187214
<code
@@ -231,8 +258,17 @@ exports[`convert happily renders its own homepage renders as expected within Rea
231258
<br />
232259
</code>
233260
</pre>
234-
<h2>
235-
What else can it do?
261+
<h2
262+
id="what-else-can-it-do"
263+
>
264+
<a
265+
aria-hidden="true"
266+
className="header-anchor"
267+
href="#what-else-can-it-do"
268+
>
269+
🔗
270+
</a>
271+
What else can it do?
236272
</h2>
237273
<p>
238274
Use JSX within Markdown. Plus import objects such as shared snippets, fancy library functions or even whole React components, using YAML front-matter:
@@ -319,8 +355,17 @@ exports[`convert happily renders its own homepage renders as expected within Rea
319355
<br />
320356
</code>
321357
</pre>
322-
<h2>
323-
Give it a go!
358+
<h2
359+
id="give-it-a-go"
360+
>
361+
<a
362+
aria-hidden="true"
363+
className="header-anchor"
364+
href="#give-it-a-go"
365+
>
366+
🔗
367+
</a>
368+
Give it a go!
324369
</h2>
325370
<p>
326371
Want to see exactly what Markdown Component Loader will generate when it translates the mdx into a stateless React component?
@@ -337,8 +382,17 @@ exports[`convert happily renders its own homepage renders as expected within Rea
337382
</a>
338383
</div>
339384
</div>
340-
<h2>
341-
Get started
385+
<h2
386+
id="get-started"
387+
>
388+
<a
389+
aria-hidden="true"
390+
className="header-anchor"
391+
href="#get-started"
392+
>
393+
🔗
394+
</a>
395+
Get started
342396
</h2>
343397
<p>
344398
Check out the

0 commit comments

Comments
 (0)