OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
A macro argument property that is inlineOnly can only contain inline macros. If any block macros present in the argument or its descendants, will lead to a conversion error.
Some notable rules:
There are two main rationales for enforcing these rules:
  • the HTML h1 - h6 header HTML elements can only contain phrasing content (analogout to our inline macros) for the HTML to be valid. We could chose to use styled divs instead of h elements, but this could have a negative SEO impact. All other HTML elements could be replaced by divs without issue however, the problem really is only h.
  • on OurBigBook Web, where multiple users are working together and many titles from multiple users show on index pages, it is saner to be more restrictive on what is allowed on titles and to prevent visually very large things from being added in order to prevent bad actors or accidents from disrupting other users too much

Ancestors (5)

  1. Macro argument property
  2. Macro argument
  3. OurBigBook Markup syntax
  4. OurBigBook Markup
  5. Home