Skip to content

Commit

Permalink
Fix footnotes
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Jul 24, 2023
1 parent 84c441b commit ccee200
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions entries/ascii table.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ date: 2022-01-09T23:49:50-08:00
tags:
---

The [ASCII] 7-bit character encoding is ubiquitous[^actually utf8] and
The [ASCII] 7-bit character encoding is ubiquitous[^actually-utf8] and
foundational to how computers talk to each other. It has an absolutely
fascinating history that dates surprisingly far back. The ASCII standard started
in 1963, and was iterated until 1986. ASCII was based on ITA2, a telegraph
Expand Down Expand Up @@ -52,7 +52,7 @@ the beginning of digital communication (the namesake for "baud" speed).
everywhere, and all should work in your terminal! Try `⌃H` for a home-row
oriented backspace.

[^actually utf8]: These days it's really UTF-8 thats ubiquitous.
[^actually-utf8]: These days it's really UTF-8 thats ubiquitous.

[ascii]: https://en.wikipedia.org/wiki/ASCII
[baudot code]: https://en.wikipedia.org/wiki/Baudot_code
Expand Down
4 changes: 2 additions & 2 deletions entries/ikigai.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ tags: career

Years ago I came across the concept of "Ikigai" (or "life's reason") in [a blog
post][marc winn's blog post], along with an explanatory four-axis venn
diagram[^meme seeding]. It introduced the idea of honing in on a life's purpose
diagram[^meme-seeding]. It introduced the idea of honing in on a life's purpose
by way of doing what you're good at, what you enjoy, what the world needs, and
what you can be paid for. This really resonated with me.

[^meme seeding]: Years later, Marc wrote a [follow up
[^meme-seeding]: Years later, Marc wrote a [follow up
post][marc winn's follow up] on the origins of his article on Ikigai and
addressed how it took on a life of its own.

Expand Down
4 changes: 2 additions & 2 deletions entries/leap.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ keys[^creep]. Instead it has "Leap" keys under the space bar.
want to move) and start typing the thing you want to move to. The cursor moves
in real-time with each key press.
- If you got it wrong you can hit "Undo" to go back.
- To keep looking for the same thing, hold "Use Front"[^use front] and "Leap
- To keep looking for the same thing, hold "Use Front"[^use-front] and "Leap
Again".
- There's a dedicated "Page" button so you can Leap through page by page to
rapidly move through a large file (or press it on its own to create a new
Expand All @@ -49,7 +49,7 @@ keys[^creep]. Instead it has "Leap" keys under the space bar.
previously leapt location. Leaping with highlighted text moves that text along
with the cursor.

[^use front]: The "Use Front" key is essentially your "Command" key, but they
[^use-front]: The "Use Front" key is essentially your "Command" key, but they
printed the commands on the front of the key caps, hence "Use Front".

This is so different from what we're used to that it seems like it might be
Expand Down
12 changes: 6 additions & 6 deletions entries/markdown footnotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ tags: markdown
Much like [markdown link references], footnotes are defined in one place and
referenced in another, but it doesn't matter where the footnote is defined,
they'll always be collected at the end of the document in the order in which
they are referenced[^a note].
they are referenced[^a-note].

Footnotes are created similar to shortcut reference links, but the identifier
starts with a `^`.

```markdown
order in which they are referenced[^a note].
order in which they are referenced[^a-note].
```

A footnote definition is formatted exactly like link reference
definitions[^needs cr]: in a box followed by a comma.
definitions[^needs-cr]: in a box followed by a comma.

```markdown
[^a note]: Despite footnotes appearing numbered, the identifier can be any text.
[^a-note]: Despite footnotes appearing numbered, the identifier can be any text.
This is helpful if you may add more notes later and don't want to be bothered to
reorder them.
```

[^a note]: Despite footnotes appearing numbered, the identifier can be any text.
[^a-note]: Despite footnotes appearing numbered, the identifier can be any text.
This is helpful if you may add more notes later and don't want to be bothered to
reorder them.

[^needs cr]: Unlike a link reference definition, a footnote definition needs an
[^needs-cr]: Unlike a link reference definition, a footnote definition needs an
empty line immediately after it, otherwise content from multiple lines is joined
into a single paragraph.

Expand Down
8 changes: 4 additions & 4 deletions entries/meta tags & the semantic web.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ along the way:
use[^rdfa]. There is also [microformats] which still has some use, but is no
longer preferred.
- [Open Graph] is a standard proposed by Facebook which addressed the mess that
was the web at the time[^og deck]. It has a surprisingly broad schema and some
quirks[^og non standard]. Since then, [JSON-LD] has become the preferred tool.
was the web at the time[^og-deck]. It has a surprisingly broad schema and some
quirks[^og-non-standard]. Since then, [JSON-LD] has become the preferred tool.
JSON is way easier for representing data, and there's a huge set of
[available schema](https://schema.org/docs/schemas.html).
- [Facebook] (and other Meta apps, like Messenger) use Open Graph with some
Expand Down Expand Up @@ -67,11 +67,11 @@ inconsistencies or other problems.
licensing data in the footer! Check it out in the
[structured data linter](http://linter.structured-data.org/?url=https:%2F%2Fleebyron.com%2Ftil%2Fmeta-tags-and-the-semantic-web%2F).

[^og deck]: Facebook made an interesting
[^og-deck]: Facebook made an interesting
[deck on the design decisions](https://www.scribd.com/doc/30715288/The-Open-Graph-Protocol-Design-Decisions)
of Open Graph that details these problems. It's an interesting read.

[^og non standard]: Open Graph uses `<meta>` tags, but annoyingly uses a
[^og-non-standard]: Open Graph uses `<meta>` tags, but annoyingly uses a
`property=` attribute which was borrowed from RDF but is non standard for a
`<meta>` tag. It ideally should have used [`name=`] (which Twitter cards does).
Someone should have caught that in code review.
Expand Down

0 comments on commit ccee200

Please sign in to comment.