Skip to content

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

@LennartCode

Description

@LennartCode

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


```rust
// No syntax highlighting in code blocks

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

```

and

---
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):

  • OS: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions