Iterative and incremental tweaking.  Refining requirements in a "paint the 
picture and ask: is this what you mean? No, then tweak and repeat" process.

Come to realize looking at that last syntax diagram: nah, I want this chunk 
to be optional.  So tweak:

[image: Screenshot 2023-06-25 12.21.38 PM.png]
On Sunday, June 25, 2023 at 11:05:58 AM UTC-3 Charlie Veniot wrote:

> Unsatisfied.  The tweak:
>
> ```
> <$list filter="""[<rdg>split[/"BR"/]]""" counter=index>
> <div style={{{ [<index>match[1]else[margin-left:100px;]]}}}><div style={{{ 
> [[margin-left:]] 
> [<currentTiddler>split[PAD"/]first[]split[/"]last[]else[0]] [[px;]] 
> +[join[]] }}}><$railroad text={{{ 
> [<currentTiddler>search-replace:g:regexp<pad>,[]] }}}/></div></div>
> </$list>
> ```
>
> [image: Screenshot 2023-06-25 11.05.16 AM.png]
>
> On Saturday, June 24, 2023 at 10:44:40 PM UTC-3 Charlie Veniot wrote:
>
>> I added some custom syntax /"BR"/ I can use to generate multiple railroad 
>> diagrams from one big chunk of text.
>>
>> <rdg> is the text for the railroad diagram(s).
>>
>> ```
>> <$list filter="""[<rdg>split[/"BR"/]]""">
>> <$railroad text=<<currentTiddler>>/>
>> </$list>
>> ```
>>
>>
>>
>> [image: Screenshot 2023-06-24 10.36.03 PM.png]
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18a93530-3b36-4bd1-ae2c-b17b2190d65bn%40googlegroups.com.

Reply via email to