cmark sxml problem (also chiccup sxml)
Paul Wisehart via Chicken-users <[email protected]> Tue, 21 Apr 2026 12:44:11 -0400
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
Hi!,
I am using chiccup to auther html pages
using what I thought was "SXML".
Like:
((h1 "Header!")
(p "This is a paragraph..."))
This works great.
Now I am using cmark to process markdown
to sxml and intermix it into the chiccup.
The problem is that in cmark and specifically
(cmark-sxml "# Header!
This is a paragraph...")
The output sxml is like:
((h1 ("Header!"))
(p ("This is a paragrapoh...")))
Why does cmark-sxml wrap those atoms in
parenthesis? It is messing up the
final conversion to html.
Any ideas?
Thanks!,
Paul Wisehart