On Thursday, June 29, 2017 at 8:00:09 PM UTC+2, PMario wrote:
>
>
> [
>     {
>         "type": "set",
>         "attributes": {
>             "name": {
>                 "type": "string",
>                 "value": "foo"
>             },
>             "value": {
>                 "type": "string",
>                 "value": "<!-- This is foo -->"
>             }
>         },
>         "children": [],
>         "params": []
>     }
> ]
>
>
> The rendered output is:  
>
>
>
Just to be correct. .. Rendering the output needs to examine the above 
parse-tree, convert it to a widget tree, like this:

{
    "type": "widget",
    "children": [
        {
            "type": "set",
            "attributes": {
                "name": "foo",
                "value": "<!-- This is foo -->"
            }
        }
    ]
}


and then create the output, by converting the "value" into html code, which 
results in:




-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/bb2263f1-3140-4baf-8220-22b76367177c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to