Example
Markdown to JSON-LD
Before: a plain Markdown page with no machine-readable structure.extract:
What it unlocks
- Markdown that remains pleasant for humans to write.
- Frontmatter that machines can interpret as semantic data.
- Compatibility with JSON-LD, RDFLib, and RDF graph workflows.
- Shared conformance tests across language implementations.
Repositories
Install
Parse frontmatter
Useextract to read semantic attributes from a Markdown document:
RDF compatibility
Theattrs data returned by extract() is valid JSON-LD, ready for loading
into RDF graph stores: