How does one center a link to a page?

So I am trying to center a link to a page under an equation but when I do with things like <div> the link no longer works same for with things like <p>
$$I_{t} = ∫^t_{0} Fdt\tag{2-1}$$ [[2-1]]

I see that what Ive tried has disappeared so its things like div center and so such

You need to mark your examples as code, as you would in Obsidian: Basic formatting syntax - Obsidian Help.

I’ll edit the post for you in case your account is too new to have edit permissions.

Markdown doesn’t work inside block level HTML, and the math syntax is its own thing too.

I thought Obsidian didn’t do Markown in inline HTML either, but it looks like <span>[[example]]</span> works. Altho that doesn’t help because you can’t center inline things. You could try changing the display of a span to block. display

Oh ok thanks it now works using css snippets

Yeah I am rather new so mb

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.