You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add footnote styles
Port the styles from dotcom to Primer.
* Create gold-games-tickle.md
* disable lints
* Nest footnotes within markdown-body
Co-authored-by: Jon Rohan <[email protected]>
* Style footnotes
* Add footnotes to docs
* Lint
* Bump right border
Bumps the right border out a bit for symmetry in the :target border
style.
* Darken text when targeted
Co-authored-by: Jon Rohan <[email protected]>
Co-authored-by: simurai <[email protected]>
Here's a simple footnote,<sup><ahref="#user-content-fn-1-12345"id="user-content-fnref-1-12345"data-footnote-ref=""aria-describedby="footnote-label">1</a></sup> and here's a longer one.<sup><ahref="#user-content-fn-bignote-12345"id="user-content-fnref-bignote-12345"data-footnote-ref=""aria-describedby="footnote-label">2</a></sup>
<p>This is the first footnote. <ahref="#user-content-fnref-1-12345"data-footnote-backref=""class="data-footnote-backref"aria-label="Back to content"><g-emojiclass="g-emoji"alias="leftwards_arrow_with_hook"fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">↩</g-emoji></a></p>
288
+
</li>
289
+
<liid="user-content-fn-bignote-12345">
290
+
<p>Here's one with multiple paragraphs and code.</p>
291
+
<p>Indent paragraphs to include them in the footnote.</p>
292
+
<p><code>{ my code }</code></p>
293
+
<p>Add as many paragraphs as you like. <ahref="#user-content-fnref-bignote-12345"data-footnote-backref=""class="data-footnote-backref"aria-label="Back to content"><g-emojiclass="g-emoji"alias="leftwards_arrow_with_hook"fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">↩</g-emoji></a></p>
294
+
</li>
295
+
</ol>
296
+
</section>
297
+
279
298
<pre><code>This is the final element on the page and there should be no margin below this.</code></pre>
280
299
</div>
281
300
```
@@ -447,6 +466,18 @@ Large images should always scale down and fit in the content container.
447
466
448
467

449
468
469
+
Here's a simple footnote,[^1] and here's a longer one.[^bignote]
470
+
471
+
[^1]: This is the first footnote.
472
+
473
+
[^bignote]: Here's one with multiple paragraphs and code.
474
+
475
+
Indent paragraphs to include them in the footnote.
476
+
477
+
`{ my code }`
478
+
479
+
Add as many paragraphs as you like.
480
+
450
481
```
451
482
This is the final element on the page and there should be no margin below this.
0 commit comments