-
-
Notifications
You must be signed in to change notification settings - Fork 150
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Template zettels #328
Comments
note to self: @TheMatten and I discussed some ideas on supporting general template functions (using the |
i think we should add |
@babygau Neuron generates Anyway what we are talking about is unrelated to this issue; it should be a discussion in a new issue. |
tks u for response. i asked because i came from here (meta data) and it doesn't mention title. i also had an warning error complain about malformed data when i have title: metadata |
Guess we should document it then. As for the metadata error, try putting the title in double quotes (having to do this is yet another reason to prefer regular Markdown titles). |
Revision 2 This proposal could further be simplied. No need for a hardcoded list files; just put the templates in |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I imagine we don't need a very flexible template system.
Initial proposal, to be refined:
a subdirectory, eg:(see Revision 2 below)./templates/daily.md
__
(see below)neuron new --template=daily
use the specified templateHere's a sample template,
./template/daily.md
:We may even go one step ahead and support arbitrary key value pairs (
neuron new --template=daily --data="key1=123"
), with__KEY1__
somewhere in the template body.The text was updated successfully, but these errors were encountered: