Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to disable .meta file for markdown format in Node #3050

Open
syrte opened this issue Dec 10, 2017 · 4 comments
Open

Is it possible to disable .meta file for markdown format in Node #3050

syrte opened this issue Dec 10, 2017 · 4 comments

Comments

@syrte
Copy link

syrte commented Dec 10, 2017

Now for each markdown tiddler, tiddlywiki will create a *.md and a *.md.meta file.
So the file folder seems a bit messy, because too many files in it.
Is it possible to disable this behavior, and just save into a single .tid file?

Could you give me some hint?
Thanks.

@pmario
Copy link
Contributor

pmario commented Dec 10, 2017

At the moment this is only possible, if you do create *.tid files on the filesystem. .. If you create md files from TW it will save them as .md and .meta.md

I think I did open a similar issue, but can't find it atm.

The problem is, that we would need an option per file type, that is handled that way now. eg: .txt .jpg ...

@syrte
Copy link
Author

syrte commented Dec 10, 2017

Thanks for the information. I'll further look at the code of filesystemadaptor.js.

I found a related issue, #2558

@tejasvi
Copy link
Contributor

tejasvi commented Feb 1, 2021

@syrte If having a single file is the only concern, you can specify a filter like [type[text/x-markdown]then[.tid]] in
$:/config/FileSystemExtensions which will save the content of .meta files at top along with the markdown for any newly modified tiddlers. The downside is, the extension will now be .tid though it can be overcome by modifying the internals. See File System Extensions in docs. I am currently figuring out a way to do it for all existing tiddlers.
Update: Nifty TW-Commander can be used trigger the save operation for existing tiddlers.

@kravlost
Copy link

Has this ever been resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants