Re: [tw] Re: Getting the input and output of a tiddler

2018-03-12 Thread Joe Armstrong
Very nice

Seeing the HTML produced by one liners explains a lot

The muddy waters are becoming clearer

/Joe

On Monday, 12 March 2018 08:15:34 UTC-7, Xavier wrote:
>
> Hi Joe,
>
> if you want Jed's code to display HTML instead of wikitext, you may use 
> the format attribute of the View widget:
>
> <$list filter="[tag[Widgets]]">
>
>
> !!The tiddler tiddler <$view field='title'/>
>
> has the text
>
> ---
>
> 
> <$view format="htmlwikified" mode="block"/>
> 
> ---
>
> which is is rendered as
>
> ---
>
> <$transclude mode=block/>
>
> ---
>
> Or perform all transclusions first in a tiddler, then view the result as 
> html, using the View widget.
>
> Xavier.
>
> -- Xavier Cazin
>
> On Mon, Mar 12, 2018 at 4:03 PM, Jed Carty  > wrote:
>
>> Dumping it into a file would take something else (although you can export 
>> tiddlers in various formats so that may help), but to get the raw text you 
>> can use the text widget like this probably overly complex example:
>>
>>
>> <$list filter="[tag[testcase]]">
>>
>>
>> !!The tiddler tiddler <$view field='title'/>
>>
>> has the text
>>
>> ---
>>
>> 
>> <$text text={{!!text}}/>
>> 
>>
>> ---
>>
>> which is is rendered as
>>
>> ---
>>
>> <$transclude mode=block/>
>>
>> ---
>>
>> 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/0b35c9aa-f253-4d44-a246-28196e7ab749%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6b73c7c-a171-46f7-835b-5e5de2d45ff7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Getting the input and output of a tiddler

2018-03-12 Thread Joe Armstrong
Brilliant

Thanks

/Joe


On Monday, 12 March 2018 08:03:24 UTC-7, Jed Carty wrote:
>
> Dumping it into a file would take something else (although you can export 
> tiddlers in various formats so that may help), but to get the raw text you 
> can use the text widget like this probably overly complex example:
>
>
> <$list filter="[tag[testcase]]">
>
>
> !!The tiddler tiddler <$view field='title'/>
>
> has the text
>
> ---
>
> 
> <$text text={{!!text}}/>
> 
>
> ---
>
> which is is rendered as
>
> ---
>
> <$transclude mode=block/>
>
> ---
>
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9bbde1d8-c4e8-4604-b329-3d446bf16be9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Getting the input and output of a tiddler

2018-03-12 Thread Xavier Cazin
Hi Joe,

if you want Jed's code to display HTML instead of wikitext, you may use the
format attribute of the View widget:

<$list filter="[tag[Widgets]]">


!!The tiddler tiddler <$view field='title'/>

has the text

---


<$view format="htmlwikified" mode="block"/>

---

which is is rendered as

---

<$transclude mode=block/>

---

Or perform all transclusions first in a tiddler, then view the result as
html, using the View widget.

Xavier.

-- Xavier Cazin

On Mon, Mar 12, 2018 at 4:03 PM, Jed Carty  wrote:

> Dumping it into a file would take something else (although you can export
> tiddlers in various formats so that may help), but to get the raw text you
> can use the text widget like this probably overly complex example:
>
>
> <$list filter="[tag[testcase]]">
>
>
> !!The tiddler tiddler <$view field='title'/>
>
> has the text
>
> ---
>
> 
> <$text text={{!!text}}/>
> 
>
> ---
>
> which is is rendered as
>
> ---
>
> <$transclude mode=block/>
>
> ---
>
> 
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/0b35c9aa-f253-4d44-a246-28196e7ab749%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYP5KCe-MnVV03%3DraCxkcoF5AoPzm%2BK1fzv-k1raP%2BssTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Getting the input and output of a tiddler

2018-03-12 Thread Jed Carty
Dumping it into a file would take something else (although you can export 
tiddlers in various formats so that may help), but to get the raw text you 
can use the text widget like this probably overly complex example:


<$list filter="[tag[testcase]]">


!!The tiddler tiddler <$view field='title'/>

has the text

---


<$text text={{!!text}}/>


---

which is is rendered as

---

<$transclude mode=block/>

---



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0b35c9aa-f253-4d44-a246-28196e7ab749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.