Differently aligned text in one line?

How can I set up two words in one line of text such that one is right-aligned and the other is left-aligned? I figured it out in HTML but I need this to work with internal links, which break with html tags. Does anyone know how/if this can be accomplished?

Why do you need to do it without html?

Or more specifically, can you show an example of what you’re trying to do or explain the reasoning? Maybe there is a different workaround.

Like I said, I need internal links to work within this formatting. Basically, I want there to be two internal links in one line, one left-aligned and one right-aligned. But if i use html tags to do this, the markdown internal links cease to function.

You’ll need to add class="internal-link" to the html link.
Code

[< previous] [next >]

<html><body><div style="display: block; width: 100%">
	<a href="last log.md" class="internal-link" style="float:left">[&lt; previous]</a>
	<a href="next log.md" class="internal-link" style="float:right">[next &gt;]</a>
</div></body></html>

I start some log files with a link to the previous and next file respectively. Both in same line, previous left, next right. It may not work in this comment but it works inside obsidian.