Hi Tony
 I used different methods to do the job, but it general it can be like what 
you wrote:
<<partxx """contents""">>

I will modify it then to adopt other methods.

Thank you

On Thursday, June 28, 2018 at 7:33:53 AM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> I am ready to build you editor button(s), but is the requirement still 
> there?
>
> Can you give me a quick requirements statment eg
>
> Button in the editor toolbar that wraps a "section" of text as follows
>
> <<part01 """section""">> 
>
> <<part02 """section""">> 
>
> <<part03 """section""">> 
>
> How many is the maximum number of sections?
>
> Regards
> Tony
>
> On Friday, 22 June 2018 14:35:30 UTC+10, Mohammad wrote:
>>
>> Thank you Tony!
>> That is right, we need to have some snippet to be used, but I don't know 
>> how to add a new editor button to tollbar. That would be great!
>> /Mohammad
>>
>> On Friday, June 22, 2018 at 4:00:40 AM UTC+4:30, TonyM wrote:
>>>
>>> Mohammad,
>>>
>>> One way to simplify the workflow for this would be to make an editor 
>>> toolbar button to wrap a section eg <<part01 "section">>
>>> or perhaps <<part01 """section""">> to account for Quotes in the text.
>>>
>>> In fact if you follow the model of the more drop-down in the editor 
>>> toolbar you could have an editor button that drops down to show all three 
>>> parts, perhaps extend to 7 as a healthy maximum number of reveals.
>>>
>>> Let me know if you want help, or me to build such an editor toolbar 
>>> button, anthough other here can do it as well.
>>>
>>> Regards
>>> Tony
>>>
>>>
>>> On Friday, June 22, 2018 at 12:17:47 AM UTC+10, Mohammad wrote:
>>>>
>>>>
>>>>
>>>> *Announcement*
>>>>
>>>>
>>>> http://revealgradually.tiddlyspot.com/
>>>>
>>>>
>>>> I have developed a small code to gradually reveal contents of tiddler 
>>>> using shortcut keys by *KeeBoord *pluging (here keeboord.tiddlyspot.com 
>>>> by BTC is used)
>>>> An example is created to show the concept. By pressing Arrow keys
>>>>
>>>>    - Right arrow for next  
>>>>    - Left arrow for previous
>>>>    
>>>> To use this code you need to pass your content to a macro. There are 
>>>> three macros
>>>>
>>>>    1. part01
>>>>    2. part02
>>>>    3. part03
>>>>
>>>> Each macro will reveal the contents passed to it. Use Right arrow to 
>>>> show the contents in sequence. Use Left arrow to back to previous step.
>>>> Note: this feature will be used for slideshow and presentation by 
>>>> Tiddlywiki but can be used for other applications too
>>>>
>>>>
>>>> *Need help*
>>>>
>>>> Right now I have to pass contents to a macro for revealing gradually as 
>>>> below
>>>>
>>>> <<part01 "Hi, this is me">>
>>>>
>>>>
>>>> For complex content I have to use macro like this
>>>>
>>>> <<part01 "
>>>> ! Hi
>>>> This is a text
>>>>
>>>>
>>>> * one
>>>> * two
>>>> ">>
>>>>
>>>>
>>>>
>>>> How can I pass content like a widget! (or like html tags) I mean how 
>>>> can I use a syntax like this
>>>>
>>>> <part01>
>>>> Contents goes here!
>>>> </part01>
>>>>
>>>>
>>>> I dont want to develop a full widget with JS!
>>>>
>>>> Please advise.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>

-- 
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/7120b59b-2394-4f24-9961-399eeb7a2dac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to