-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Hi @tiensonqin. When I use Mldoc's astExportMarkdown from js (via nbb), I noticed that blocks with only one property do not export their property drawer. Blocks with 2 or more properties export their property drawer fine. I think this is a bug as export should not lose property information. To reproduce, you can use the logseq-roundtrip script which converts markdown file to ast and then exports ast to markdown file. Steps to reproduce
git clone https://github.com/cldwalker/nbb-clis && cd nbb-cliscurl https://raw.githubusercontent.com/cldwalker/nbb-clis/main/test/resources/advanced.md -o advanced.mdbin/logseq-roundtrip advanced.md advanced-roundtrip.md- Observe that the fig node doesn't export
collapsed:: truewhile the banana node exports its properties
I suspect 9aed290#r63959759 is the source of the bug but I don't know ocaml
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels