Ciao Jan
Jan wrote:
... use Skeeve's ReplacePragma. I found out that it does a great job if the replacement-code is
marked on top of the tiddler.
... Is there a way to apply it to multiple Tiddlers by type or by
filter? I think it would be a great feature also for other usecasesI can't help you program it.
Am I right in thinking that you only want the ReplacePragma activated when a Tiddler is of ONE "content type"?
I think that can be done inside a "Save" button.
I do know its possible to limit contained macros going active under a save button to certain content types or under specified tags. That was what Mark S. did to help me with the "hashtag2tag" thing (see
https://groups.google.com/forum/#!topic/tiddlywiki/4hE3-KUOqkY for a worked through example).
I also am looking at the ReplacePragma. There was slightly depressing discussion of it in the past
https://groups.google.com/forum/#!searchin/tiddlywiki/replacepragma%7Csort:relevance/tiddlywiki/52Hwa_oCLRk/gLLzQrmG87oJ.
I am unclear IF you avoid potential issues with the ReplacePragma using a new "content type"?
It seems important to answer that question. We don't want to be working on something that then trips us up.
Certainly for what we both want
a new content-type might be merited? What would you call it to be compliant with content descriptions? How would you create it?
One thing that is a lot clearer to me than it was is that some of the questions on formatting Screenplays raise are pertinent to all types of markup. It would help, I think, if the whole procedure were easier and "closer to the surface"--so that you could create new markup schema in a simpler way.
Still largely-in-the-dark
Josiah