KRAMDOWN-RFC(1)
π KRAMDOWN-RFC π
okay so bestie, welcome to the kramdown-rfc page β it's a General Commands Manual situation and honestly? it ate. let's get into it π«Ά
β¨ NAME β¨
kramdown-rfc β tool to generate XML2RFC XML from Markdown
like. that's the whole gig. markdown in, fancy RFC XML out. iconic behavior honestly π
πΈ SYNOPSIS πΈ
kramdown-rfc [mydraft.mkd]
that's it. that's the whole vibe check. optionally hand it a file, or don't, we'll get to that π
π¦ DESCRIPTION π¦
so kramdown(1) is a markdown parser by Thomas Leitner, and the way it works is it has a bunch of backends for generating HTML, Latex, and markdown again. multi-talented fr fr.
kramdown-rfc is an additional backend to that β¨ β it lets you generate XML2RFC XML markup (also known as RFC 2629, RFC 7449, or RFC 7991 compliant markup, iykyk). it's designed as a source format for documents in the Internet-Drafts (I-Ds) and Request for Comments (RFC) series, and the whole point is that it gets processed by the xml2rfc utility. that's the pipeline bestie, no cap.
now, the important part: if no file is specified, STDIN will be used π. so if you're typing input directly, you can send an EOF by pressing ^D. yes, ^D, that's your little escape hatch, go off π
π EXAMPLE π
kramdown-rfc mydraft.mkd > mydraft.xml
xml2rfc mydraft.xml
look at that. two lines. first one turns your mydraft.mkd into mydraft.xml, second one feeds it to xml2rfc. chef's kiss, we love a clean workflow π
π AUTHOR π
kramdown-rfc is written by Carsten Bormann <cabo@tzi.org> π
This manual page was written by CΓ©dric Boutillier <boutil@debian.org> for the Debian project πΈ
π SEE ALSO π
bestie reminder: the manual name is General Commands Manual, and this whole thing is 2022, April energy. that's the sign-off π β¨ slay, go write some RFCs π«Ά
π¦ where this page comes from
- debian bookworm: ruby-kramdown-rfc2629 1.6.22-1 Β· MIT
- debian trixie: ruby-kramdown-rfc2629 1.7.14-1 Β· MIT
- ubuntu noble: ruby-kramdown-rfc2629 1.6.22-1 Β· MIT
- ubuntu questing: ruby-kramdown-rfc2629 1.7.14-1
- ubuntu resolute: ruby-kramdown-rfc2629 1.7.31-1 Β· MIT
- ubuntu stonking: ruby-kramdown-rfc2629 1.7.39-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms