Inconsistency When Copying Mathematical Formulas from the ChatGPT Website:

Hello everyone. I’m currently facing an issue:

I want to copy mathematical formulas from the ChatGPT website. Previously, I would generally use the “copy” button below the response, and the formulas copied were usually in a format with the or ( ) mathematical delimiters. This initially worked well with my plugin Math Indicator Changer. I could copy the formula into Obsidian and use my plugin to convert it with one click to display it correctly. However, recently I’ve noticed that when I paste a formula, for example, a formula that should be copied from the ChatGPT website like this:

(\lim_{{x \to a}} (f(x) + g(x)) = \lim_{{x \to a}} f(x) + \lim_{{x \to a}} g(x))

When I paste it into a text editor or check it on the clipboard, it’s in this format.

But if I paste it directly into Obsidian, it turns into this:

lim⁡x→a(f(x)+g(x))=lim⁡x→af(x)+lim⁡x→ag(x)\lim_{{x \to a}} (f(x) + g(x)) = \lim_{{x \to a}} f(x) + \lim_{{x \to a}} g(x)

It becomes this jumbled format. This forces me to first paste the copied content into a text editor, then copy it again before importing it into Obsidian for it to appear as I expect, whereas this wasn’t the case in earlier versions. I’ve created a new repository and confirmed that this isn’t caused by the plugin. I believe others may have encountered similar situations.

Does anyone know why this is happening?

Things I have tried

Start a new vault

Have you tried the other paste variant? That is to use Shift+Cmd/Ctrl+V

3 Likes

This works! Thank you!