Saq, Can I prevent TW from creating .meta files. --Atro
On Tuesday, October 27, 2020 at 8:04:22 AM UTC+3:30 Atronoush wrote: > Hi Saq, > > I see the PR #2906 <https://github.com/Jermolene/TiddlyWiki5/issues/2906> > has been merged into the core! Great feature > I appreciate your efforts. > > Is it possible to add some explanation / short document in tw5.com > so people can find and use this feature later on! > > Thank you > --Atro > > On Tuesday, October 6, 2020 at 10:40:17 AM UTC+3:30 saq.i...@gmail.com > wrote: > >> Hi Bimlas, >> >> I am unfamiliar with Boostnote etc, however I do use TiddlyWiki as a tool >> to work with plain text files for similar reasons. >> >> I load a folder of plain text files using a tiddlywiki.files file. This >> allows me to load them without the need for inline metadata or an external >> .meta file. >> https://tiddlywiki.com/#tiddlywiki.files%20Files >> >> I then have a path defined in $:/config/FileSystemPaths to save these >> tiddlers back to their original location on editing. >> https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming >> >> Note however that TiddlyWiki does not allow you to save back to the >> original location for files loaded via tiddlywiki.files so this requires a >> patch. I have been using such a patch for over 3 years now with no issues. >> >> Some details here: https://github.com/Jermolene/TiddlyWiki5/issues/2906 >> The patch in that issue is out of date, if you need an up to date patch I >> can provide one for you. In fact I should probably make a PR with the >> updated patch as I think it addresses some of the concerns raised in that >> ticket. >> >> When you now edit a tiddler that has been loaded via tiddlywiki.files, it >> saves back to the original location plus a .meta file is created for that >> tiddler. If all your data is in the body of the tiddler, then you can >> simply ignore these .meta files. >> >> Lastly, when creating a new tiddler, to make sure it is saved as .txt >> make sure to use type text/plain. After creation the type can be changed >> and the tiddler will still be saved as .txt. Note that this is actually >> somewhat of a bug but effort is being made to address it while still >> allowing the user to determine what format a tiddler should be saved in. >> For details see https://github.com/Jermolene/TiddlyWiki5/pull/4630 >> >> Hope this helps, >> Saq >> >> >> On Tuesday, October 6, 2020 at 8:40:02 AM UTC+2, bimlas wrote: >>> >>> Lately, I’ve been unsure if I really want to use TiddlyWiki, because no >>> matter how universal single HTML is, it’s still just a big file and it >>> depends on the browser. Since plain text is the most timeless format >>> possible (even a text file written in 1963 can still be viewed and edited >>> today), I thought I would migrate to plain text files. Once I realized how >>> I could convert the tiddlers extracted from HTML to the right format for >>> me, I started looking for a text editor that included both preview and full >>> text search. To my great surprise, the latter is supported by very few >>> programs, so I can only solve it with my own Grep script. After sleepless >>> nights and short circuits of thought, I came to realize that TiddlyWiki can >>> handle separate files. Even if the Node.js TiddlyWiki itself ever ceases to >>> exist, the notes will still be usable because they are just text files, and >>> if I systematically name the tiddlers, the links between them will still be >>> searchable with a simple, software-independent text search, so they remain >>> usable. >>> >>> The question is, how can TiddlyWiki be used as a simple text editor? I >>> would like to emulate the operation of Boostnote / Joplin / Typora / ... >>> >>> For example, if I install Ansel's Markdown >>> <https://demo.santosa.family#tw5-markdown> plugin and then copy the >>> Markdown files to the tiddlers directory, how can I edit them without >>> adding extra metadata? If I edit ".md" files in Tiddly, then it writes them >>> back to the drive in JSON format. If I change ".md" to ".tid" extension and >>> write "type: x-markdown" at the beginning of the file, it will rewrite the >>> file in its original form after editing, but add e.g. the "title" field >>> with the current path to the file, which I don't want. >>> >> -- 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/1eb96f99-5ce2-4d23-b950-3bedffe82ed8n%40googlegroups.com.