DominikPieper / obsidian-ReadItLater

MIT License
450 stars 35 forks source link

Hyperlinked carets format incorrectly. #176

Closed Asten-Valentinus closed 1 week ago

Asten-Valentinus commented 2 months ago

Please check that this issue hasn't been reported before.

Expected Behavior

The caret forms a hyperlink.

Current behaviour

The caret is parsed as a footnote. [^](link)

Steps to reproduce

  1. Download Anarchism - Wikipedia (or another example) with ReadItLater.
  2. In Obsidian, open the downloaded document.
  3. Scroll down to anywhere from line 242 to line 434.
  4. Observe the incorrectly formed hyperlinks.

Which Operating Systems are you using?

Obsidian Version

1.6.7

Plugin Version

0.5.1

Checks

Possible solution

Add a space in the hyperlink before the caret like so:

[ ^](https://example.com/]

If you want to preserve formatting, you can remove a space before the hyperlink to compensate. However, in select scenarios, this may cause problems or there may not be a space to remove.