Skip to content

Commit dc3e07c

Browse files
committed
docs: Cleanup docs
1 parent 7deace7 commit dc3e07c

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -306,52 +306,52 @@ https://instagram.com/p/B60jPE6J8U-
306306

307307
</details>
308308

309-
### Pinterest
310-
311-
The returned HTML snippet from the Pinterest transformer will only be
312-
automatically recognized as an embedded pin when Pinterest's embed JavaScript is
313-
included on the page.
314-
Since the Pinterest transformer doesn't include this JavaScript (because we
315-
don't want to include it multiple times on a page when having multiple embeds),
316-
you have to include it yourself. The recommended way of including it is by using
317-
[`gatsby-plugin-pinterest`][gatsby-plugin-pinterest].
309+
### Lichess
318310

319311
#### Usage
320312

321313
```md
322-
https://pinterest.com/pin/99360735500167749
314+
https://lichess.org/MPJcy1JW
323315
```
324316

325317
<details>
326318
<summary><b>Result</b></summary>
327319

328320
```html
329-
<a
330-
data-pin-do="embedPin"
331-
href="https://pinterest.com/pin/99360735500167749"
332-
></a>
321+
<iframe
322+
src="https://lichess.org/embed/MPJcy1JW"
323+
width="600"
324+
height="397"
325+
frameborder="0"
326+
></iframe>
333327
```
334328

335329
</details>
336330

337-
### Lichess
331+
### Pinterest
332+
333+
The returned HTML snippet from the Pinterest transformer will only be
334+
automatically recognized as an embedded pin when Pinterest's embed JavaScript is
335+
included on the page.
336+
Since the Pinterest transformer doesn't include this JavaScript (because we
337+
don't want to include it multiple times on a page when having multiple embeds),
338+
you have to include it yourself. The recommended way of including it is by using
339+
[`gatsby-plugin-pinterest`][gatsby-plugin-pinterest].
338340

339341
#### Usage
340342

341343
```md
342-
https://lichess.org/MPJcy1JW
344+
https://pinterest.com/pin/99360735500167749
343345
```
344346

345347
<details>
346348
<summary><b>Result</b></summary>
347349

348350
```html
349-
<iframe
350-
src="https://lichess.org/embed/MPJcy1JW"
351-
width="600"
352-
height="397"
353-
frameborder="0"
354-
></iframe>
351+
<a
352+
data-pin-do="embedPin"
353+
href="https://pinterest.com/pin/99360735500167749"
354+
></a>
355355
```
356356

357357
</details>

0 commit comments

Comments
 (0)