peerdraft / obsidian-plugin

Collaboration for Obsidian – Sync, Share, and Edit anywhere
https://www.peerdraft.app/
GNU General Public License v3.0
36 stars 2 forks source link

[Feature Request] Support for Full Obsidian Markdown Syntax in Web Editor #12

Open linuswalter opened 4 days ago

linuswalter commented 4 days ago

Actually, this tool has the potential to become very useful for collaborative writing in science, because Obsidian Markdown is much more convenient for drafting a publication in comparison to Overleaf. Since most collaborators in science do not use Obsidian, the web editor is a very cool feature!

For making collaboration on scientific document possible, it would be necessary to render the markdown in the web editor as close as possible to the Obsidian vault rendering. This would be especially important for:

  1. Rendering equations / Latex math blocks and inline maths
  2. Rendering figures that are located in the same shared folder/directory

I don't how difficult this is to implement or which other priorities you might have. But maybe people who would support this feature and who would be willing paying a subscription in case of implementation could react with :rocket: .

schlundd commented 4 days ago

Thanks for the suggestions.

For equations / Latex: Which plugins are you using in Obsidian to display them? Can you attach or link to an example markdown document I could use for testing?

With "Rendering figures that are located in the same shared folder/directory" you mean image files?

linuswalter commented 3 days ago

Thank you for your fast reply!

  1. Latex Math Rendering: The rendering of equations is a default function of Obsidian. I think the example from the Obsidian Help Vault is already sufficient for testing: https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Math. They describe both inline math and math blocks. So basically it works with Mathjax. Don't know how complicated it is to implement this in the web editor.
  2. Image files: Yes, I am referring to image files. I used an example where I shared a complete folder. My publication file is located within the shared folder as well as the image files (filename of example image: FormatFactoryIMG_4553.jpg . When trying to embed the image via![[FormatFactoryIMG_4553.jpg]], the image is not shown in the preview.