Saq,

I could not see any activity, yet, on your demo. But I immediately thought 
of code mirror which allows you to indent and on hitting enter honours the 
last indent. I presume this adds an otherwise rarely used tab character? Of 
course in a way streams already does this?

It would be quite simple to parse such a tiddler and replace n levels of 
indent with n levels of bullet points, either permanently or for display 
only. See a quick Proof of concept below POC

I have a tiddler with indented text multiple levels deep (using code mirror)

[image: Snag_18cec84b.png]
Renders like this; because tiddlywiki does not honour tabs

[image: Snag_18cf73ae.png]
However this code
<$list filter="[[TabbedTiddler]get[text]splitregexp[\t]join[*]]">
<$wikify name=line text="<<currentTiddler>>">
   <<line>><br>
</$wikify>
</$list>

Renders the following and demonstrates the possibility while not completed

[image: Snag_18d16b96.png]
So this is only a few steps away from a solution to the request in the 
thread.

Regards
TW Tones

On Tuesday, August 4, 2020 at 6:01:40 AM UTC+10, Saq Imtiaz wrote:
>
> There is a pretty cool thread on reddit about making it more convenient to 
> create lists in wikitext, namely automatically adding the required markup 
> to subsequent lines. This inspired me to take a swing at a quick fix 
> towards the same goal.
>>
>>
> Reddit thread:
>
> https://www.reddit.com/r/TiddlyWiki5/comments/hufvs9/automatically_continue_bullet_list/
>  
> <https://www.reddit.com/r/TiddlyWiki5/comments/hufvs9/automatically_continue_bullet_list/?utm_source=share&utm_medium=web2x>
>
> My attempt at a quick fix:
> https://saqimtiaz.github.io/sq-tw/editor-autolists.html
>
> Every new line should start with the same list indent level as the 
> previous.
> Cheers,
>
> Saq
>

-- 
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/ac5af787-55ff-49a3-8444-23a7870e548ao%40googlegroups.com.

Reply via email to