On Thursday, August 27, 2020 at 6:54:16 PM UTC+2, Mat wrote:
...

> IMO it will be very similar or the same as: 
> https://tiddlywiki.com/#Styles%20and%20Classes%20in%20WikiText 
> <https://www.google.com/url?q=https%3A%2F%2Ftiddlywiki.com%2F%23Styles%2520and%2520Classes%2520in%2520WikiText&sa=D&sntz=1&usg=AFQjCNHQH2jyZtPp_biafunNHeivsqg7CQ>
>  
>
> Really? Do you feel the same about the * and : markup? Might as well do it 
> with @@... instead?
>

The problem is, that we don't have enough unique "indicators" left. 
 

> The point is to access ones own look/behaviour as smoothly as with e.g *
>

eg: I'm working on a new plugin that will allow us to style paragraphs. It 
uses the "accent" aka "Tick"

´ some text or
´´ some more text indent level 1
´´.test paragraph indent level 1 and class "test" added 

BUT there is already a problem, which may not be obvious. .. The damned 
thing isn't part of every keyboard layout. It depends on the language 
settings.
An alternative is "angle quotes" » 

» some text or
»» some more text indent level 1
»».test paragraph indent level 1 and class "test" added 

Same thing here. I needed to copy paste it from a different site :/

---------------

One idea would be to use the aforementioned § character. IF a row is 
> prefixed with § and has a subsequent empty row (or end of tiddler) then it 
> is interpreted as a list element. If the row instead is encapsulated with a 
> § and a suffixing § then it is interpreted as a div. For example the first 
> case could be interpreted as <li class="custom-li"> and the second case as 
> <div class="custom-div">....</div>.
>

Your first example is

* standard list element
*.custom-li different list text

raw html is:

<ul>
  <li>standard list element</li>
  <li class="custom-li">different list text</li>
</ul>



Your second example is

@@.custom-class
* element 1
* element 2
@@

raw html is:

<ul class="custom-class">
  <li>element 1</li>
  <li>element 2</li>
</ul>


which works out of the box. So I don't see too much difference and it's 
already there. 

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/50e00687-da3f-419c-863f-602b78a2c643o%40googlegroups.com.

Reply via email to