From: Lady Date: Sat, 29 Jul 2023 00:20:01 +0000 (-0700) Subject: Update Editing documentation for @as X-Git-Url: https://git.ladys.computer/Wiki/commitdiff_plain/3c0d9d8f81fed4690e23b393e824160e749b2b44?hp=51b155584acdbf0bfa938effc1edce5334498bb6 Update Editing documentation for @as --- diff --git a/Sources/Meta/Editing.djot b/Sources/Meta/Editing.djot index 9aec79e..dc66327 100644 --- a/Sources/Meta/Editing.djot +++ b/Sources/Meta/Editing.djot @@ -115,14 +115,18 @@ If the title matches the link text, you can leave the link text blank, {id="djot.other" v-full="other djot extensions"} ### other stuff -- The `@as` attribute can be used on emphasized text to change what - H·T·M·L element is used. - The following values are supported:8--: - - - `_b_{as=b}` - - `_cite_{as=cite}` - - `_i_{as=i}` - - `_u_{as=u}` +- The `@as` attribute can be used on any element with children to + change what H·T·M·L element is used. + For example, the following is a citation: _My Citation_{as=cite}. + Here is a disclosure widget:8--: + + {as=details} + :::::::::::: + {as=summary} + My Summary + + My details for this widget. + :::::::::::: - There are symbols defined for spaces, invisible characters, and a couple of other conveniences.