Skip to content

Commit 2166b13

Browse files
committed
Use built-in footnotes
1 parent e9f08ef commit 2166b13

File tree

5 files changed

+6
-24
lines changed

5 files changed

+6
-24
lines changed

Gemfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ group :jekyll_plugins do
55
gem "jekyll-feed"
66
gem "jekyll-seo-tag"
77
gem "jekyll-sitemap"
8-
gem "jekyll-footnotes"
98
end
109

11-
gem "jekyll-feed"
12-
gem "jekyll-seo-tag"
13-
gem "jekyll-sitemap"
14-
gem "jekyll-footnotes"
15-
1610
gem "ffi", ">= 1.9.24"
1711

Gemfile.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ GEM
117117
jekyll (~> 3.0)
118118
jekyll-feed (0.15.1)
119119
jekyll (>= 3.7, < 5.0)
120-
jekyll-footnotes (1.0.0)
121120
jekyll-gist (1.5.0)
122121
octokit (~> 4.2)
123122
jekyll-github-metadata (2.13.0)
@@ -259,7 +258,6 @@ DEPENDENCIES
259258
ffi (>= 1.9.24)
260259
github-pages (~> 209)
261260
jekyll-feed
262-
jekyll-footnotes
263261
jekyll-seo-tag
264262
jekyll-sitemap
265263

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ plugins:
1111
- jekyll-seo-tag
1212
- jekyll-feed
1313
- jekyll-sitemap
14-
- jekyll/footnotes
1514

1615
# Build settings
1716
markdown: kramdown

_posts/2021-01-01-a-2020-retrospective.markdown

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ the future.
2020
One year ago today, I was finishing the first implementation of [block layout](https://github.com/twilco/kosmonaut/commit/f3041f0b7e986b7a0be26b34870489cfaeb3e830) and [display-list generation](https://github.com/twilco/kosmonaut/commit/fedf68029e4ad9ea8bf4b96611b8738a347402f2). In terms of LoC, Kosmonaut hasn't grown much — from 7.5k LoC then to
2121
20k now. However, there are some pretty neat improvements wrapped up in that 12.5k LoC increase:
2222

23-
* Layout-tree dump{% fn %} snapshot based testing
24-
* Partial support{% fn %} for [abstract box layout](https://drafts.csswg.org/css-writing-modes-4/#abstract-layout) with the `writing-mode` and `direction` properties
23+
* Layout-tree dump[^1] snapshot based testing
24+
* Partial support[^2] for [abstract box layout](https://drafts.csswg.org/css-writing-modes-4/#abstract-layout) with the `writing-mode` and `direction` properties
2525
* Support for arbitrary scale factors, e.g. for HiDPI screens
2626
* OpenGL-based box painting and text rendering (though text rendering is not yet hooked into layout)
2727

@@ -103,12 +103,7 @@ I've taken a break from WebKit recently to push Kosmonaut's layout rewrite acros
103103

104104
---
105105

106-
{% footnotes %}
107-
{% fnbody %}
108-
<a href="https://github.com/twilco/kosmonaut/blob/82cf7ef53e67e0c33ea8812e486fe8d867a82da9/tests/layout/directional/snapshots/lib__layout__directional__ltr_vertical_lr_block_boxes_top_left_right_mbp_applied_physically.snap">Here's what a layout dump looks like. </a>
109-
{% endfnbody %}
110-
{% fnbody %}
111-
The specifics of what "partial support" means are documented <a href="https://github.com/twilco/kosmonaut/blob/e50b640e467a630776a3a3c910839176da98f868/README.md#f1">here</a>.
112-
{% endfnbody %}
113-
{% endfootnotes %}
106+
[^1]: <a href="https://github.com/twilco/kosmonaut/blob/82cf7ef53e67e0c33ea8812e486fe8d867a82da9/tests/layout/directional/snapshots/lib__layout__directional__ltr_vertical_lr_block_boxes_top_left_right_mbp_applied_physically.snap">Here's what a layout dump looks like. </a>
107+
108+
[^2]: The specifics of what "partial support" means is documented <a href="https://github.com/twilco/kosmonaut/blob/e50b640e467a630776a3a3c910839176da98f868/README.md#f1">here</a>.
114109

_sass/_base.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ ol.bold > li > span.non-bold {
4747
margin-bottom: 10px;
4848
}
4949

50-
.footnotelist {
51-
margin-top: 15px;
52-
}
53-
54-
.footnotelist > li {
50+
.footnotes {
5551
margin-top: 15px;
5652
}
5753

0 commit comments

Comments
 (0)