aboutsummaryrefslogtreecommitdiff
path: root/_design.qmd
blob: b7a6b315a557e69e57c182223630a1ec201e86c6 (plain)

Collection of interrelated POSIX scripts and Pandoc extensions for enabling semantic annotations in Markdown-based authoring workflows.

  • filter extension to capture annotations
    • identify semantic metadata in stylistic metadata part of Pandoc YAML header
    • identify semantic metadata in content part of Pandoc document structure
    • append semantic metadata to Pandoc YAML document header
    • strip identified metadata from stylistic metadata and content
  • output format extension to generate PDF
    • read semantic metadata from Pandoc YAML document header
    • structure semantic metadata as RDF triples
    • append RDF triples serialized as part of XMP metadata in PDF
  • output format extension to generate web page
    • read semantic metadata from Pandoc YAML document header
    • structure semantic metadata as RDF triples
    • append RDF triples serialized as RDFa

Interfaces

  • Pandoc document object model (DOM)
  • Resource Description Framework (RDF)
    • XMP
    • RDFa
  • Markdown
    • Semantic Markdown
  • CommonMark
    • Semantic CommonMark