On Tuesday, October 6, 2020 at 7:27:50 AM UTC-7, Jean-Pierre Rivière wrote:
>
> \define wcagList()
>
> <$list filter="[enlist{!!wcag21tech}]" variable=link-code>
> <$macrocall $name="wcag" ref=<> />
>
>
> \end
>
> Note also the call to the wcag macro using the macrocall widget. I would
> have
OK. Thanks to you, I got these macros to get my job done. Note the padding
on the ul tag to get an alignment not excessively deported to the right.
\define wcag(ref)
\whitespace trim
<$set name="base" value="https://www.w3.org/WAI/WCAG21/Techniques";>
<$set name="codeFam" filter="$ref$ +[splitre
Jean-Pierre,
When we use the content of the list widget as the template to display each
item, there is a different behaviour if the first line is blank or not. No
line makes it inline, one blank line makes it a block, so line based wiki
text is processed.
;List from [[tiddler|links-tiddler]]
<
Thank you Tones. I need to adapt it to my very need, but something I have
not been able to do quickly tonight is to get a list (the ul/li or ol/li
kind of list) with that. for instance, in list from field, having "*
<>" instead of "<>" doesn't do the tricks. I confess I don't
understand why.
N
Jean-Pierre,
Paste this into a tiddler and review how it works.
\define link-prefix() https://www.w3.org/WAI/WCAG21/Techniques/
\define link-codes-macro() general/G10 general/G135 general/G136 failures/
F15
\define links() [[$(link-code)$|$(link-prefix)$/$(link-code)$]]
\define hyper-links() <$te
Here is a sample of what I had written by hand:
* [[G10|https://www.w3.org/WAI/WCAG21/Techniques/general/G10]].
* [[G135|https://www.w3.org/WAI/WCAG21/Techniques/general/G135]].
* [[G136|https://www.w3.org/WAI/WCAG21/Techniques/general/G136]]
* [[F15|https://www.w3.org/WAI/WCAG21/Techniques/failu
Jean-Pierre Rivière
I am not sure what you are trying to achieve in the end.
- Is this to be in the aforementioned static tiddler template?
- Are you trying to generate HTML? (I have some great tips if you are)
Most of Html works in its own right in tiddlers, so if you use the wikitext
7 matches
Mail list logo