diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2021-03-09 08:22:54 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 12:22:54 +0100 |
commit | 4d0b87a5cdb1fbdec7e0376c1b3a37e1b7ec4d7c (patch) | |
tree | 9a19d63a528c5559af28b86d12bff3658f8f7e49 /lib/pure/htmlgen.nim | |
parent | cc37fee0ab744e035510498024e4fee016560ab8 (diff) | |
download | Nim-4d0b87a5cdb1fbdec7e0376c1b3a37e1b7ec4d7c.tar.gz |
Add Portals (#17306)
* Add Portals * Add Portals
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r-- | lib/pure/htmlgen.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim index fbecf337d..04b1c5202 100644 --- a/lib/pure/htmlgen.nim +++ b/lib/pure/htmlgen.nim @@ -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 |