mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-14 00:09:42 +00:00
1b0eec143e
@pmario: I’ve taken your suggestion and made the HTML element type(s) be macro parameters.
15 lines
237 B
Plaintext
15 lines
237 B
Plaintext
title: $:/core/macros/list
|
|
tags: $:/tags/Macro
|
|
|
|
\define list-links(filter,type:"ul",subtype:"li")
|
|
<$type$>
|
|
<$list filter="$filter$">
|
|
<$subtype$>
|
|
<$link to={{!!title}}>
|
|
<$view field="title"/>
|
|
</$link>
|
|
</$subtype$>
|
|
</$list>
|
|
</$type$>
|
|
\end
|