Skip to content

parse-print roundtrip changes list formatting #73

@3b

Description

@3b
(3bmd::parse-string-and-print-to-stream "- a
- b
" t :format :markdown)

;; ->

"- a

- b
"

but those don't quite parse the same:

(3bmd::parse-doc "- a
- b
")
;; ((:BULLET-LIST (:LIST-ITEM (:PLAIN "a")) (:LIST-ITEM (:PLAIN "b"))))

(3bmd::parse-doc "- a

- b
")
;; ((:BULLET-LIST (:LIST-ITEM (:PARAGRAPH "a")) (:LIST-ITEM (:PARAGRAPH "b"))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions