Hi Jeremy,
 The build command is quite powerful! I appreciate to advice on below 
questions


   1. In https://tiddlywiki.com/#RenderTiddlerCommand it states that "The 
   --rendertiddler command is deprecated in favor of the new, more flexible 
   --render command". this is true for "--rendertiddlers", but when one 
   create a new wiki using "tiddlywiki mywiki --init server" even in 
   TW-5.1.22 you get your *tiddlywiki.info* uses old commands. What do you 
   recommend here?
   2. Is it possible to use "--render" and use "filename-filter" to remove 
*space 
   *and *odd characters (e.g. / [ " % $) *from tiddler name and store in a 
   specific folder for example ./blog, ./asset, ...
   3. *Most problematic one*: Is there any way to use --render and prevent 
   the extra *<p>* tag generation? I use a *grid layout* for static website 
   generated by TW-5.1.22 and these <p> tags make to destroy the grid layout.

Many thanks for your help
--Mohammad


> The “build” command lets you store named sequences of commands and invoke 
> them with a single command, making it easier to type common commands.
>
> The build targets are defined in the tiddlywiki.info in the root of the 
> wiki folder like this:
>
> {
> "description": "Empty edition",
> "plugins": [
> ],
> "themes": [
> "tiddlywiki/vanilla",
> "tiddlywiki/snowwhite"
> ],
> "build": {
> "index": [
> "--rendertiddler","$:/core/save/all","index.html","text/plain"],
> "empty": [
> "--rendertiddler","$:/core/save/all","empty.html","text/plain",
> "--rendertiddler","$:/core/save/all","empty.hta","text/plain"],
> "externalimages": [
> "--savetiddlers","[is[image]]","images",
>
> "--setfield","[is[image]]","_canonical_uri","$:/core/templates/canonical-uri-external-image","text/plain",
> "--setfield","[is[image]]","text","","text/plain",
> "--rendertiddler","$:/core/save/all","externalimages.html","text/plain"],
> "static": [
>
> "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain",
>
> "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
>
> "--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
>
> "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
> }
> }
>
>
> Those commands could be performed like this:
>
> tiddlywiki mywiki --build index empty static
>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b976dbe2-235f-45c2-9ea3-07f3ca2c47fa%40googlegroups.com.

Reply via email to