i-d-template icon indicating copy to clipboard operation
i-d-template copied to clipboard

Warn about unpreferred source code types

Open ioggstream opened this issue 1 year ago • 1 comments

I expect

  • to get warnings when using a sourcecode type not listed in https://www.rfc-editor.org/materials/sourcecode-types.txt

Notes

  • where is the best place to put this check?

ioggstream avatar Jan 08 '24 13:01 ioggstream

where is the best place to put this check?

one of two places, neither of them here :)

  • kramdown-rfc if you are using that tool.
  • xml2rfc

The reason you would only want to warn is that the list of allowed types might need to change faster than whatever tool can. Both tools are well maintained, but things can move quickly.

martinthomson avatar Jan 08 '24 20:01 martinthomson