mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
tags: $:/tags/Macro
|
||||
title: $:/plugins/Gk0Wk/echarts/macro
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
\define echarts(textortiddler,height:"300px",width:"100%",class:"gk0wk-echarts-body",theme:"auto",renderer:"canvas",fillSidebar:"true")
|
||||
<$set name="textortiddler" value="""$textortiddler$""">
|
||||
<$list filter="[<textortiddler>is[tiddler]] [<textortiddler>is[shadow]]">
|
||||
<$echarts $tiddler=<<textortiddler>> $height="$height$" $width="$width$" $class="$class$" $theme="$theme$" $renderer="$renderer$" $fillSidebar="$fillSidebar$"/>
|
||||
</$list>
|
||||
<$list filter="[<textortiddler>!is[tiddler]!is[shadow]]">
|
||||
<$echarts $text=<<textortiddler>> $height="$height$" $width="$width$" $class="$class$" $theme="$theme$" $renderer="$renderer$" $fillSidebar="$fillSidebar$"/>
|
||||
</$list>
|
||||
</$set>
|
||||
\end
|
Reference in New Issue
Block a user