mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-18 17:08:32 +00:00
@@ -207,6 +207,8 @@ provided by the operating system.
|
||||
|
||||
- Added `jscore.debugger` to [call any available debugging functionality, such as breakpoints.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger)
|
||||
|
||||
- Added `htmlgen.portal` for [making "SPA style" pages using HTML only.](https://web.dev/hands-on-portals)
|
||||
|
||||
|
||||
## Language changes
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user