LBF38 / obsidian-syncthing-integration

Obsidian plugin for Syncthing integration
MIT License
184 stars 6 forks source link

[BUG] Markdown is not rendered correctly in `Preview Merged File` #215

Open LennartCode opened 5 months ago

LennartCode commented 5 months ago

Currently some markdown features are not rendered correctly in the Preview Merged File window. This is especially relevant for frontmatter, tables and callouts, as they are core Obsidian features.

To Reproduce

  1. Generate a sync conflict using the admin mode of the plugin
  2. In both files add differing frontmatter, like for example
    
    ---
    test: test1
    ---
Table sadly
not working

Neither are Callouts

// No syntax highlighting in code blocks

fn main() {
    println!(“Hello World!”);
}

and

```markdown
---
test: test2
---
  1. Open the merge editor
  2. Observe the incorrect rendering

Expected behavior Core Obsidian features should render correctly in the preview.

Screenshots Result: image

Expected: image

Desktop (please complete the following information):