Add Portals (#17306)

* Add Portals

* Add Portals
This commit is contained in:
Juan Carlos 2021-03-09 08:22:54 -03:00 • committed by GitHub
commit 4d0b87a5cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -613,6 +613,10 @@ macro wbr*(e: varargs[untyped]): untyped =
## Generates the HTML `wbr` element.
result = xmlCheckedTag(e, "wbr", commonAttr, "", true)
macro portal*(e: varargs[untyped]): untyped =
## Generates the HTML `portal` element.
result = xmlCheckedTag(e, "portal", "width height type src disabled" & commonAttr, "", false)
macro math*(e: varargs[untyped]): untyped =
## Generates the HTML `math` element. MathML https://wikipedia.org/wiki/MathML