[tw5] Re: Rules Pragma? and documentation
Mario, Yes I was aware of that, I was just trying in a single tiddler and the documentation falls short, not mentioning the "\rules except". Thanks Tones On Monday, 2 August 2021 at 15:50:35 UTC+10 PMario wrote: > Hi, > > Have a look at the ControlPanel : Settings tab. The first option lets you > disable CamelCase wikilinks globally. > > -m > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3902692d-71b3-4eb0-aa3b-346425bd3558n%40googlegroups.com.
[tw5] Re: Rules Pragma? and documentation
Hi, Have a look at the ControlPanel : Settings tab. The first option lets you disable CamelCase wikilinks globally. -m -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/97279791-8364-4556-91d2-ab316a6d9d2bn%40googlegroups.com.
[tw5] Re: Rules Pragma? and documentation
Hi, As Eric mentioned. Some of your links are broken. \rules alone does nothing. -m -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fce5898b-4c70-4767-bc46-8296fad23a8an%40googlegroups.com.
[tw5] Re: Rules Pragma? and documentation
Eric, thanks. I tried to determine it by searching the core. Do you confidently understand what \rules without a parametter does? I will do a little doco Tones On Monday, 2 August 2021 at 12:23:12 UTC+10 Eric Shulman wrote: > So, for your goal, use "\rules except wikilinks" >> > > Errata: that should be "\rules except wikilink" > > -e > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9985eef4-d87a-4d33-9fab-aa84dbd14f57n%40googlegroups.com.
[tw5] Re: Rules Pragma? and documentation
> > So, for your goal, use "\rules except wikilinks" > Errata: that should be "\rules except wikilink" -e -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ff29ba5f-79f9-4b0a-80d1-f7d4cbb9d8aan%40googlegroups.com.
[tw5] Re: Rules Pragma? and documentation
On Sunday, August 1, 2021 at 7:01:17 PM UTC-7 TW Tones wrote: > There is also the \rules pragma which is only mentioned not documented > sufficiently. > When searching tiddlywiki.com the rules pragma can only be found in the > following forms > >- \rules (which presumably means none) >- \rules only *list of rules* (as named meaning rule in particular >rules) > > However I do not want to name every rule but the one I do not want > wikilinks in a given tiddler. > I would have hoped there were a \rules not rulesnames > in *$:/core/modules/parsers/wikiparser/wikiparser.js, *there's this code: WikiParser.prototype.amendRules = function(type,names) { names = names || []; // Define the filter function var target; if(type === "only") { target = true; } else if(type === "except") { target = false; } else { return; } ... Thus, you can use "\rules only ..." AND "\rules except ..." So, for your goal, use "\rules except wikilinks" Also, your link to the list of parse rules didn't work. Here's the correct ControlPanel link: https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FControlPanel%2FParsing You can find the TWCore code for each rule by searching from $:/AdvancedSearch, Shadows tab for: *$:/core/modules/parsers/wikiparser/rules/* enjoy, -e -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e07e99d4-dbf8-4394-8518-4556d575accbn%40googlegroups.com.