bramses / chatgpt-md

A (nearly) seamless integration of ChatGPT into Obsidian.
MIT License
824 stars 61 forks source link

Customizable Title Templates for Infererred Titles #64

Open lukemt opened 1 year ago

lukemt commented 1 year ago

I would like to be able to set a template for inferred titles. In my case i want the inferred title to be prepended with the current date (or the string of the former filename)

for example: 2022-04-10 A Conversation with an Enlightened AI.md

bramses commented 1 year ago

Hi @lukemt,

I could see this being useful as a setting, but also could cause bloat. How do you propose a setting to address it? A prefix/suffix setting?

lukemt commented 1 year ago

Hey @bramses! Good question. I think a template would be most elegant. One that has to include the inferred title string.

DJHL commented 1 year ago

Maybe you can look into the example from https://github.com/ivan-lednev/obsidian-task-archiver This plugin let's you define custom format titles for archive notes.

image

I guess the {{date}} placeholder would be the most relevant for ChatGPT-MD.