Skip to content

Support source Attribute for Markdown Items and Others#245

Open
martinmckenna wants to merge 3 commits into
jpmonette:masterfrom
martinmckenna:task/add-markdown
Open

Support source Attribute for Markdown Items and Others#245
martinmckenna wants to merge 3 commits into
jpmonette:masterfrom
martinmckenna:task/add-markdown

Conversation

@martinmckenna

@martinmckenna martinmckenna commented Jun 2, 2026

Copy link
Copy Markdown

Description

Fixes #244

This PR adds the ability to add markdown-supported items, which can be parsed by popular feeds such as NetNewsWire: https://netnewswire.blog/2025/11/05/netnewswire-for-mac-and-ios.html

The problem is that while I can add <source:markdown /> elements via the extensions option, the XML will fail because the source attribute was not declared at the top-level, so adding source:markdown doesn't actually work

source is a namespace described here: https://source.scripting.com/

@martinmckenna martinmckenna changed the title Support content:markdown for Markdown Items Jun 2, 2026
@martinmckenna

Copy link
Copy Markdown
Author

also just to say it, this isn't an LLM PR, I genuinely need this for my own use.

@jpmonette

Copy link
Copy Markdown
Owner

Interesting, thanks for the contribution @martinmckenna.

I'm skeptical about the implementation - how about we go instead with an optional sourceMarkdown at the item level? From this, you could derive if the doctype requires the namespace or not. Also, make sure to add the <source:markdown> attribute in the items as this seems to be missing (based on the docs you've linked above).

Finally, if you could also make sure it's covered in tests and also add an url to the doc as this is a more obscure extension.

@jpmonette jpmonette self-requested a review June 26, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants