Giter Club home page Giter Club logo

Comments (4)

opoudjis avatar opoudjis commented on July 30, 2024

As always, what the gem does with rendering is up to what is rendering the RFC XML it produces. There are align attributes in figures and artwork, and they will default to left, as the RFC XML spec says (only tables default to center); so this should not be an issue. The onus will be on whoever is authoring the Asciidoc to add a centering alignment where needed.

from asciidoctor-rfc.

opoudjis avatar opoudjis commented on July 30, 2024

I'll have to see about configuring an indent; there's no provision for it natively in RFC XML. @ronaldtse , so I can be clear: are you envisioning using Asciidoc rendering to preview the RFC artefacts, or only RFC2HTML? If the latter, then we can introduce formatting in the Asciidoc which won't necessarily make it into the RFC XML.

from asciidoctor-rfc.

opoudjis avatar opoudjis commented on July 30, 2024

MMark... seems to be taking a lot of liberties with the spec. :-)

from asciidoctor-rfc.

opoudjis avatar opoudjis commented on July 30, 2024

Checked; the default behaviour of the gem is to leave the alignment unspecified, which xml2rfc does indeed treat as left aligned with an indent of 2.

The centering of mathematical formulas is handled as :stem, which currently is treated as identical to :literal; that means it will be left aligned. I will change it to make it :literal, but centered.

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.