Git Product home page Git Product logo

Comments (4)

tomschr avatar tomschr commented on June 13, 2024

I agree, a figure inside a tip should be disallowed. Maybe an informalfigure could be useful.

The content model for admonitions are:

db.admonition.contentmodel = db._info.title.only, db.all.blocks+

I guess, we need to resolve db.all.blocks and list all the possible elements. Could be a bit cumbersome, but that would be a solution.

Regarding the figure inside procedure: yes, this is currently allowed. However, I don't see that as a big disadvantage. If I'm not mistaken, we use it occasionally.

from geekodoc.

 avatar commented on June 13, 2024

Regarding the figure inside procedure: yes, this is currently allowed. However, I don't see that as a big disadvantage. If I'm not mistaken, we use it occasionally.

To me, figure in procedure makes no sense -- why not use informalfigures in this case? Procedures give a strong context anyway and so captioning your screenshot makes much less sense.

from geekodoc.

tomschr avatar tomschr commented on June 13, 2024

To me, figure in procedure makes no sense -- why not use informalfigures in this case? Procedures give a strong context anyway and so captioning your screenshot makes much less sense.

True. Yes, I agree, from a layout perspective, it would be better to have informalfigure instead of figure.
The problem is, if we disallow figure in Geekodoc, a lot of SLE files won't validate anymore. Plus the maintenance and translation branches.

from geekodoc.

tomschr avatar tomschr commented on June 13, 2024

The tip/figure may be still relevant, but this could be something for a custom Schematron rule. This is already taken into account in our styleguide.

from geekodoc.

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.