[rfc-i] Better markup may get processed faster

Joe Touch touch at isi.edu
Tue May 29 15:52:18 PDT 2012



On 5/29/2012 3:44 PM, Joe Hildebrand wrote:
> On 5/29/12 1:32 PM, "Iljitsch van Beijnum"<iljitsch at muada.com>  wrote:
>
>> On 29 May 2012, at 19:25 , Joe Touch wrote:
>>
>>> you don't need markup to find the ABNF in a doc.
>>
>> Maybe I missed something, but if a new format supports classes or styles,
>> isn't it trivial to mark up code (that needs special handling for line breaks
>> anyway) as a specific type of code? In this case I think 10 seconds extra work
>> on the part of the author is worth it.
>
> +1.
>
> I gave an example earlier, that was something like:
>
> <pre class='code language-abnf'>
>      Rule = "Hello World" ; the hello world grammar
> </pre>
>
> Typing " language-abnf" didn't take very long.

And creating a style "ABNF" would result in code that was:

<p class=MsoABNF>...

Which can be trivially converted to a simpler tag (without the Mso 
prefix, using quotes).

Joe


More information about the rfc-interest mailing list