Thank you Saq!
I will bookmark this thread for my own use cases.

--Atro

On Tue, Oct 27, 2020 at 11:46 AM Saq Imtiaz <[email protected]> wrote:

> @Atro
>
> The documentation for tiddlywiki.files was updated at the same time. I see
> this more so as a fix for an unexpected behaviour when using
> tiddlywiki.files, than a new feature.
>
> As for the setup I described earlier in this thread, that is just one way
> to use tiddlywiki.files for a particular workflow. I am not sure that
> belongs on tw.com
>
> However if you feel it would be helpful, a documentation PR describing
> this workflow would be welcome.
>
> Cheers,
> Saq
>
> On Tuesday, October 27, 2020 at 5:34:22 AM UTC+1, 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 [email protected]
>> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/94ae07bf-7332-49d0-9c0f-b63d9d4fb770o%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/94ae07bf-7332-49d0-9c0f-b63d9d4fb770o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAKHVXmqN9cfpb%3DTZxXvt0UZ2N6dc%3DaxhEeYHTr-7UATOCNjiwA%40mail.gmail.com.

Reply via email to