Sublime Forum

How to Auto-Generate text when a new document is created?

#1

I want to be able to click new for a new markdown document, and i want there to be pre-defined YAML front matter already generated including whatever time and date it is.

How can this be done?

(Also should this be a feature in a special profile so that it doesn’t interfere with the normal generation of documents??)

0 Likes

#2

github.com/mneuhaus/SublimeFileTemplates

0 Likes

#3

I dont feel like this tells me what to do.
I want to “Command+n” and have a markdown file with predefined YAML front matter.

If SublimeFileTemplates is what I need, I have looked and it doesnt give very good information on how to do what I want to do.

0 Likes

#4

No one has any clear instuctions on how to create this template, or any template at all??

0 Likes