diff options
Diffstat (limited to '')
-rw-r--r-- | _tils/2020-08-13-anchor-headers-and-code-lines-in-jekyll.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_tils/2020-08-13-anchor-headers-and-code-lines-in-jekyll.md b/_tils/2020-08-13-anchor-headers-and-code-lines-in-jekyll.md index d9181c3..bd8a072 100644 --- a/_tils/2020-08-13-anchor-headers-and-code-lines-in-jekyll.md +++ b/_tils/2020-08-13-anchor-headers-and-code-lines-in-jekyll.md @@ -47,7 +47,7 @@ I've derived my implementations from two "official"[^official] hooks, [^official]: I don't know how official they are, I just assumed it because they live in the same organization inside GitHub that Jekyll does. -All I did was to wrap the header tag inside an `<a>`, and set the href of that +All I did was to wrap the header tag inside an `<a>`, and set the `href` of that `<a>` to the existing id of the header. Before the hook the HTML looks like: ```html |