On Fri, Dec 20, 2013 at 2:34 PM, Stephan Hradek <[email protected]>wrote:

> Besides the already introduced """ for literal linebreaks, what do think
> about the idea of being able to dynamically define, on tiddler-level a
> character to use for a linebreak?
>
> I have, at the moment, no idea whether or not this will work, but similar
> to the \rules pragma we already have, we could create another like:
>
> \pragma linebreak #
>
> Which would then mean that any "#" character at the end of a line would
> mean to take this linebreak literally and remove the hash.
>
> This is just a stupid idea, but maybe you like it?
>

It could also perhaps be done by switching in and out parse rules. The
current paragraph parsing could be moved into a rule called "paragraphs"
and the alternative newline-causes-<BR> rule called "linebreaks". The
latter rule would be off by default. Then one would switch with:

\rules +linebreaks -paragraphs

(albeit with a newly invented syntax).

Best wishes

Jeremy.


>  --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to