1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-29 12:59:56 +00:00

Transclude the widget attribute subtiddlers (#7654)

* Use 'translink' macro on widget attribute 'subtiddlers' to make it browsable by scrolling

* Avoid the styling of the translink macro by directly transcluding

---------

Co-authored-by: btheado <btheado@mailinator.com>
This commit is contained in:
btheado 2023-08-01 02:56:45 -04:00 committed by GitHub
parent 9bbd8a70c2
commit aaf0bffb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
created: 20230615045526689 created: 20230615045526689
modified: 20230615060059476 modified: 20230731210638956
tags: WikiText tags: WikiText
title: Widget Attributes title: Widget Attributes
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
Attributes of HTML elements and widgets can be specified in several different ways: Attributes of [[HTML elements|HTML in WikiText]] and widgets can be specified in several different ways:
* [[a literal string|Literal Attribute Values]] * [[a literal string|Literal Attribute Values]]
* [[a transclusion of a textReference|Transcluded Attribute Values]] * [[a transclusion of a textReference|Transcluded Attribute Values]]
@ -19,3 +19,8 @@ Attributes of HTML elements and widgets can be specified in several different wa
|filtered |triple curly braces around a filter expression| |filtered |triple curly braces around a filter expression|
|substituted|single or triple backticks around the text to be processed for substitutions| |substituted|single or triple backticks around the text to be processed for substitutions|
<$list filter="[[Literal Attribute Values]] [[Transcluded Attribute Values]] [[Variable Attribute Values]] [[Filtered Attribute Values]] [[Substituted Attribute Values]]">
<$link><h1><$text text=<<currentTiddler>>/></h1></$link>
<$transclude mode="block"/>
</$list>