Giter Club home page Giter Club logo

Comments (4)

opoudjis avatar opoudjis commented on July 30, 2024

The ticket on what to do with these is still pending. The [bcp14] macro is currently not processed in v2, so the text will just flow through; I can make it process them and capitalise them in v2.

Still pending is to find a shorter macro than [bcp14]. What I can do is have a document flag :bold_bcp14 , and if that flag is on, then any boldface BCP14 text will be converted in bcp14 markup. That is essentially the MMark solution, we can make it opt-in or opt-out (because there may be contexts where you want to boldface a MUST without it being a BCP14 text.)

What say you?

from asciidoctor-rfc.

ronaldtse avatar ronaldtse commented on July 30, 2024

@opoudjis I think the MMark shorthand converting "bold" to BCP14 keywords is fine, so in asciidoc we can use *MUST* to represent BCP14 MUST.

You're right that sometimes a "must" is not a BCP14 "MUST", as described here https://tools.ietf.org/html/rfc8174. However it would be rare (and probably bad practice) that in an RFC one wants to bold a normal "must".

We could have a flag to opt-out, like :rfc-bold-bcp14.

At least we have this settled! 👍

from asciidoctor-rfc.

opoudjis avatar opoudjis commented on July 30, 2024

Implemented. Refer spec: opt-out flag for bold uppercase BCP14 words is :no-rfc-bold-bcp14:. [bcp14]#X# is respected in v2.

from asciidoctor-rfc.

ronaldtse avatar ronaldtse commented on July 30, 2024

Awesome thanks @opoudjis !

from asciidoctor-rfc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.