]> Lady’s Gitweb - Wiki/commitdiff
Update Editing documentation for @as
authorLady <redacted>
Sat, 29 Jul 2023 00:20:01 +0000 (17:20 -0700)
committerLady <redacted>
Sat, 29 Jul 2023 00:20:01 +0000 (17:20 -0700)
Sources/Meta/Editing.djot

index 9aec79e3c856b696d537bb1291bea87d4f55f4fe..dc66327f5ff3b272b86ff1e12cc5ada7a601c74e 100644 (file)
@@ -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.
This page took 0.064611 seconds and 4 git commands to generate.