\rules except html
Ciao again BJ
A second part of this is strongly related to THIS thread: https://groups.google.com/forum/#!topic/tiddlywiki/9Lf0YHfMUZk concerning specific markup for "Fountain" screenplay styling, which I think you know about?
This is currently more an open question than a clear request. I'm not expecting a clear answer. Just maybe a few clues :-).
I was kinda wondering if one could use Fountain format regular expressions in ONE go, in one javascript component rather having to make loads of formatting rules by using your plugin?
Mark S. did a bunch of work around the Fountain format it but I think, rightly, is sky of the somewhat esoteric complexity of the central TW parsers. Screenplays are pretty simple layout though.
I had wondered if your Flexitype could be used to help on that? On this I'm unclear what to do or how. Any thoughts might help.
Best wishes
Josiah
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/75aa0bf1-0bfd-4e5c-9f62-25d5543ae220%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e7b189ac-70dd-4faf-a1cf-9bca93b093d4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f49135ea-d723-4e10-aa8d-ac3932d2432c%40googlegroups.com.
/\n!/\n\n!/
/\n:/\n\n:/
/\n{{/\n\n:{{/
/}}/}} /
and set the type of the tiddler to modify to text/vnd.tiddlywiki;flexibility=replace
Should this already work or did I forget something.
Yours Jan
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ff49e61e-1db9-43b0-928b-9d2b784424a8%40googlegroups.com.
\n.
The replaced \n\n: and
\n\n!
appear in the rendered Tiddler.
Yours Jan
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5bddb7fd-a56e-4d58-8102-8a5fbe5e03b3%40googlegroups.com.
/\(.+?\)//g
/\(.+?\)/ /g
2 - A sequence of regex stalls at this one ...
/\(.+?\)//g
Best wishes
Josiah
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/07444197-d2cb-4884-afc0-0786f8dd30c1%40googlegroups.com.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/01058a69-8f49-422b-ab0c-f9450903dc5d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d7eda36-2cad-4598-a708-c725d0aca6f2%40googlegroups.com.
I cannot reproduce your first issue, can you give details of you setup? (browser, tw plugin etc)
1 - When I edit "testregexdefs" and save it my wiki does an auto refesh and all tiddlers except "testregexdefs" get closed. Is that the expected behaviour?
I have put up a new version which fixes issue 2
d
testregexdefs
to systemtiddlers.)
So thanks for all your work
yours Jan
Betreff: | Re: [tw] Re: BJ's Flexitype Plugin -- Can it help me be clean & lean? |
---|---|
Datum: | Mon, 25 Sep 2017 10:39:25 +0200 |
Von: | Jan <lasjo...@googlemail.com> |
An: | tiddl...@googlegroups.com |
Could you give your type a shorter name? (And could you change the names of replace, RegxParseParam and
testregexdefs ...
:s A RIVER.
:a We’re underwater, watching a fat catfish swim along.
:a This is The Beast.
1 -- /The Beast/The Monster/g
2 -- /_u:(.+):u_/<span class="mss-in-u">$1<\/span>/g
3 -- /^:([a-z]+):?(\d*)\s+(.+)\s*$/<p class="mss-s1-$1">$3<\/p>/
<dl><dd>s A RIVER.</dd><dd>a We’re underwater, watching a fat catfish swim along. </dd><dd>a This is The Monster.</dd></dl>
I have a text I'm processing using the text/vnd.tiddlywiki;flexibility=replace . The input text looks like this ... etcApologies for any confusion.
the special chars ^$ refer to the beginning and end of the tiddler
@TiddlyTweeter wrote:
3 -- /^:([a-z]+):?(\d*)\s+(.+)\s*$/<p class="mss-s1-$1">$3<\/p>/
Line 3 fails.
Thanks. Great to know your gizmo supports it.
BJ wrote:
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8083f454-bd3a-4a34-866c-6469fde6f82f%40googlegroups.com.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8083f454-bd3a-4a34-866c-6469fde6f82f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c2947fb5-0cc0-4e5f-9efb-ba6baa7c49e1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d7e0bd30-23d0-4fb7-a832-28744fb261ee%40googlegroups.com.
/* Fountain replace to standard */
/^(\>)\s*?/:t /m
/^(\!)\s*?/:a /m
... etc
/* Standard replace to out */
/stuff/other-stuff/m
... etc
/* Global div wrap */
/^/<div class="ms-s1">/g
/$/<\/div>/g
The point being with long sequences commenting would be useful for: (a) documentation of steps; (b) selectively disabling regex during testing.--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a6112bb5-c9fc-4e25-9bac-63e58b3471cd%40googlegroups.com.