How do I write the name A*PA in obsidian?

What I’m trying to do

Write the string A*PA as plain text in markdown. The * should be interpreted as a plain unicode character, and not apply any formatting to the text.

Here is a minimal reproducible example:

* A*PA

Things I have tried

I tried the following markdown codes, but none worked:

A*PA → renders everything after the star in italics.
A$#42;PA → renders without replacement
A\*PA → makes the star disappear
A \*PA → renders with a space in-between: A *PA

Maybe not ideal, but you could try the Asterisk Operator (U+2217). ∗∗∗

A∗PA

Screenshot 2024-08-26 at 18.04.59

1 Like

Thanks! This is unfortunately not that nice, because the A* part of the name specifically uses the normal keyboard * as the asterisk. For my own notes using something else is also fine, but feels off still.

1 Like

You can use A*PA which I would assign to some shortcut for ease of use.

1 Like

Thanks. This renders in plain text without modification. Same as the variant with the dollar sign instead of the ampersand. I have updated the OP. I can’t edit the OP anymore.

It’ll render in reading mode, where I checked it. But not in live preview?!

Hmm… it’s already a feature request:

1 Like

I’m not a liberty to write it out just now but I reckon that “A*'no width space character’PA” might be an option. But this would then for sure require a text expander/shortcut for insertion.

1 Like

Once you are around a bit longer, make some more posts, give and get some :blue_heart:s, etc., you’ll be able to edit your posts.

1 Like

I see, seems like all of this is because of bugs in edit mode. Didn’t even know there was a reading mode. Also the much simpler A\*PA works in reading mode, but in edit mode the star disappears.

Well actually, now that I have switched back and forth between edit and reading mode, A\*PA displays as A*PA in both edit and reading mode… It certainly did not before. Must be some weird bug.

Thank you for your help!

1 Like

Personally I’m mostly using source mode and reading mode, and hardly ever live preview. It’s mostly a personal preference, since I don’t like the differences in rendering between live preview and reading mode. These differences are caused by different markdown rendering engines when editing vs reading.