joethei / obsidian-plantuml

Generate PlantUML Diagrams inside Obsidian.md
MIT License
368 stars 18 forks source link

different result of yaml data between obsidian preview and PlantUML Web Server #16

Closed xwyam closed 2 years ago

xwyam commented 2 years ago

test code:

@startyaml
root:
    -
        attr1: value1
        attr2: value2
    -
        attr3: value3
        attr4: value4
    - ...
@endyaml

It looks like this from PlantUML Web Server image

and looks like this from obsidian preview image

I guess this is due to the eol. So I try open the markdown file with a hex-editor. Then I find the file uses LF, but my laptop runs Windows. Is this the problem?