Skip to content

Commit

Permalink
Link to the very top of page on a GitHub page
Browse files Browse the repository at this point in the history
  • Loading branch information
verityj committed Jun 27, 2023
1 parent 64388ab commit 8de16a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2023-06-27-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ last_modified_date: 2023-06-27
nav_order: 4
---

There is no default way to point to the very top of a blog post or a page in Markdown. But we can combine two ideas to accomplish this.
There is no default way to point (anchor) to the very top of a blog post or a page in Markdown. But we can combine two ideas to accomplish this.

The convenience of markdown is that once we start writing an article and title subsections, they become automatically linkable from anywhere else. So if I want to say (see section above), I type:
The convenience of markdown is that once we start writing an article and title subsections, they become automatically linkable / anchored from anywhere else. So if I want to say (see section above), I type:

```
see [section above](#name-of-section-above)
Expand Down

0 comments on commit 8de16a2

Please sign in to comment.