Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to specify metadata using YAML?#219

Open
wiktor-k opened this issue Feb 14, 2024 · 2 comments
Open

Is it possible to specify metadata using YAML? #219

wiktor-k opened this issue Feb 14, 2024 · 2 comments

Comments

@wiktor-k
Copy link

What went wrong?

Well, nothing in particular. I was wondering if it would be possible to specify document metadata using YAML instead of TOML. It seems YAML metadata is fairly standard in Markdown processing tools, eg. GitHub Docs uses them: https://docs.github.com/en/contributing/writing-for-github-docs/using-yaml-frontmatter

What version of mmark are you using?

2.2.25+dfsg1-2 from debian.

What is the most minimal markdown snippets that shows the problem?

---
title: "OpenPGP fingerprints in the DNS"
abbrev: "PGP fingerprints in the DNS"
ipr: "trust200902"
submissiontype: "independent"
date: 2024-02-16T10:27:00Z

seriesInfo:
  name: "Internet-Draft"
  value: "draft-00"
  stream: "independent"
  status: "informational"

authors:
  - initials: "W."
    surname: "Kwapisiewicz"
    address:
     email: "..."
---

.# Abstract

This document specifies a new scheme for verifying authenticity of OpenPGP
certificates through the DNS system. The certificates to be verified can be
organization OpenPGP CA (Certificate Authority) certificates or individual
certificates of owners of the DNS zone.

Thanks for your time! 👋

@miekg
Copy link
Contributor

miekg commented Feb 14, 2024 via email

@wiktor-k
Copy link
Author

At the moment only TOML is support, but I can see the appeal. I wont have time to work on this, but happy to look at PR.

Great, I was looking for a confirmation that this doesn't look okay only in my head.

I'll add that to my ever growing list of TODOs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants