On Oct 13, 2025, at 16:30, Kent Watsen <[email protected]> wrote:
> 
> I find that the ASCII-armor CODE BEGINS/CODE ENDS is an undesirable relic 
> from days before XML-based RFCs.  Now that RFCs are XML-native, better 
> constructs are possible.  I do not think that extracting from Text-formatted 
> RFCs is necessary.  Being able to extract from just XML is fine.  Therefore I 
> do NOT support adding support for code-tags for examples.

RFCXML has markers= and related attributes name= etc. [1]; you never type CODE 
BEGINS/ENDS.
There is no need to ever apply heuristics to pull source from plaintext 
renderings any more.

Try kramdown-rfc-extract-sourcecode on the XML if you need a tool.
Try https://tzi.de/~cabo/i-d or /rfc for a prototype of the “RFC filesystem” 
I’m proposing (not recently updated though).

Grüße, Carsten

[1]: https://authors.ietf.org/rfcxml-vocabulary#markers

_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to