philbarker / ocxmd

A python markdown extension to take metadata embedded as YAML in a page of markdown and render it as JSON-LD in the HTML created by MkDocs.
Apache License 2.0
9 stars 1 forks source link

try turtle #4

Open philbarker opened 5 years ago

philbarker commented 5 years ago

yaml + metadata is fiddly; try allowing turtle. Treat turtle and yaml metadata equally. Storing metadata from Turtle as rdflib.Graph makes sense; getting it into a python object (as metadata from YAML is stored in md.meta) is circuitous, but does suggest an extension of how metadata is stored

philbarker commented 5 years ago

I'll be honest, the tests are a bit of a mess. Probably need a separate issue