PMario wrote:
>
> I'm not a big fan of invisible "formatting", but for some things, we don't 
> have a choice. ... The [tab] at the beginning of a line will be visible in 
> edit mode. ... but it would look the same as if you did 8 spaces. ... But 
> nobody makes 8 spaces at the start of a line. right ;)
>

They might :-).

The issue is the KIND of document. The point about light-weight markup is 
precisely to use as little markup as possible so that the text remains 
human readable.
Some kinds of document can have incredibly light markup because *the actual 
written form already implies its own markup*.

For instance, screenplays rely on spacing in the human readable version so 
parsers for them use spacing as a primary vector. An example is 
https://fountain.io/syntax which is an elegant space-centric variation on 
Markdown.

Regarding the OP, an interesting issue from my point of view, is some 
comments you made about concern for some kind of "rule check". I think you 
are right in that raw regex may do the job, but without an AST (a basic 
checking framework) I could foresee issues.

Anyway its very useful to open the parsing process to extension. Tony's 
case is a good one, I think, to test with.

Best wishes
TT

 

-- 
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/298f6192-b464-4aa4-836a-2e42af90ee1a%40googlegroups.com.

Reply via email to