Markdown syntax for back to top

I googled a bit for this but did not find an answer regarding a certain markdown syntax, if it exists.

At the top of my page I create a link to a header at the bottom, like so [text](#header-title).

Next to that header at the bottom I want to create a link to jump back to the top of the page, but at the top of the page I do not want to create ###### top because in Preview it shows that header.

Is there a syntax to create something at the top I can jump back to from the bottom but that is not shown in Preview?

Alternatively, is there a way in css to not show/camouflage a H6 header?

Hiding H6 should be something like:

h6 {
   display: none;

…but (a) I’m an amateur and (b) I haven’t tested that!

For an amateur you’re doing fine: it works!
Many thanks.


Can you post an example of how this is implemented?

It would have to be added to custom CSS. See Getting comfortable with Obsidian CSS

In fact, the full code is

.markdown-preview-view h6 {
  display: none;
1 Like