My last post is a talk, so I tried to be fancy and wrap the slides in figure and figcaption elements in the markdown, and threw in a little custom css for it too, and all of that has been squired into the textContent!
see: https://pds.ls/at://did:plc:2ngsl5btroik454wzz7vpbzq/site.standard.document/3mn6cg5pz3e2p
the standard.site docs say: textContent: "Plaintext representation of the documents contents. Should not contain markdown or other formatting."
https://standard.site/docs/lexicons/document/#optional-properties
So now i feel like i'm a bad standard.siter. Could sequoia do more cleaning of the text before pushing it into the textContent field?
Thanks for sequoia!
Hey @oli.zilla.org.uk! Thanks for opening this; it looks like our markdown utility isn’t catching everything. @heaths.dev what do you think about adding a dependency to handle markdown/html utilities? I think the manual approach I started with probably isn’t going to scale well since it means catching all HTML too.