A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
55
fork

Configure Feed

Select the types of activity you want to include in your feed.

YAML multiline string literals are not parsed properly from frontmatter #13

open opened by heaths.dev

After going through the workflow in which I got to wondering about #14, I finally got records published and test comments: https://heaths.dev/atproto/2026/02/21/publishing-to-the-atmosphere.html. Everything seems to be working, except...

One thing I found possibly wrong in the workflow is that if I publish first and post is created on Bluesky, it's not yet published so the post has no thumbnail rendering. Just a > for content: https://bsky.app/profile/heaths.dev/post/3mfdr2altlh2w

Seems the post needs to be up first, or should an abstract be published instead?

I see what happened: sequoia did publish my excerpt but doesn’t handle multiline string literals properly. May be worth using a proper YAML parser that handle all the different cases of strings, chomping, etc.

Fixed in https://tangled.org/stevedylan.dev/sequoia/pulls/26. I picked the two most popular and active projects for parsing YAML and TOML. I added tests for parseFrontmatter including multiline strings - the latter of which expectedly failed before fixing parseFrontmatter.

This is awesome; thank you!! Just merged it

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:tg3tb5wukiml4xmxml6qm637/sh.tangled.repo.issue/3mfdvr5h2rz22