Center an achor link?

Operating system

Windows

Joplin version

3.2.13

What issue do you have?

Hello. I often use "back to top" (or also "go to bottom") anchors, but I would like to centre them.
I will have, say: [go to top](#top)
...which works, but I would like to have it centered in the note.
I've tried
<center>, <div>, <p align="center">
but any kind of tag will disable the link, and display it as 'markdown', so to speak.
Meaning: instead of a centered go to top, I will get a centered [go to top](#top)
What can I do to center these links? I don't want to center all anchors, just the ones that are standalones.
Thanks.

In general you need to leave two newlines between HTML and Markdown for it to work (it's somewhere in the CommonMark spec).

So this should work:

<p align="center">

[go to top](#top)

</p>

Alternatively you could have it all as HTML?

...d'oh! Two newlines, noted. That worked, but using div instead of p. Good enough for me.
Thanks!