slurp icon indicating copy to clipboard operation
slurp copied to clipboard

Investigate alternatives to Obsidian+Turndown

Open inhumantsar opened this issue 9 months ago • 0 comments

Obsidian's implementation/wrapper of Turndown results in some pretty wonky Markdown at times.

  • Nested links, as in Wikipedia footnotes and Medium author links
  • Tables with <caption> elements

It also doesn't take advantage of Obsidian's LaTeX capabilities, eg <img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/f1bbad17b44d494864f74e02217ced4562645be6" aria-hidden="true" alt="{\displaystyle \mathrm {VO_{2}\;max} ={d_{12}-504.9 \over 44.73}}"> imports the image rather than the alt text.

It will be worth spending some time researching the pros/cons of alternative parsers or using Turndown directly and contributing patches upstream.

See also #34

inhumantsar avatar May 19 '24 18:05 inhumantsar