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

Automatic title value in yaml #137

Closed
viaahmed opened this issue Nov 1, 2021 · 6 comments
Closed

Automatic title value in yaml #137

viaahmed opened this issue Nov 1, 2021 · 6 comments

Comments

@viaahmed
Copy link

@viaahmed viaahmed commented Nov 1, 2021

Thanks for the plugin 🙌

Could you please add a feature that automatically adds the title attribute with the file title as value?

It would help in preparing digital garden

@viaahmed viaahmed changed the title Auto title attribute in yaml Automatic title value in yaml Nov 8, 2021
@platers
Copy link
Owner

@platers platers commented Nov 10, 2021

@viaahmed
Copy link
Author

@viaahmed viaahmed commented Jan 1, 2022

Err, I think, the plugin is still unable to fetch the title into YAML frontmatter. It is just writing what I specified in plugin settings.

What exactly I want is that, It should automatically insert the file name next to the title attribute, just like the Automatic Heading made from 'file name'.🤗

@LeslieP-TX
Copy link

@LeslieP-TX LeslieP-TX commented Jan 31, 2022

I also would like to be able to insert filename as a title in YAML, along with the dates created and modified.

Even better --
YAML Title is created as Filename if no H1 in the file, if there is an H1, then the value of H1 is put into the YAML Title field, of course, only if title doesn't already exist.

@trijste
Copy link

@trijste trijste commented Feb 6, 2022

Yes, please!

"YAML Title is created as Filename if no H1 in the file, if there is an H1, then the value of H1 is put into the YAML Title field, of course, only if title doesn't already exist."

Would have to be the first H1 if people aren't using titles correctly to keep from bugging out or concatenating.

@viaahmed
Copy link
Author

@viaahmed viaahmed commented Feb 9, 2022

@platers hope you are doing well, this plugin has a lot of potential, and I am waiting for this feature. Hope you could understand. I want mention @Jekyll-Garden, this Jekyll theme is compatible with obsidian.md files but there is a caveat, the files need to have compulsorily in their yaml a title value. So, automating this process, would save a lot of time and effort. Thanks 👍

@platers
Copy link
Owner

@platers platers commented Feb 9, 2022

@platers platers closed this Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants