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 use variables in _Template? #1603
Comments
Hi! No, this is not possible at the moment. But you could perhaps define a Macro to achieve both ends:
If you end up implementing these Macro's, please open a PR at gollum-lib -- we would be very interested! |
@dometto Thanks for the info, I don't know ruby, but I'll give it a try. |
It seems that Macro is expanded at rendering time, in that case, a What I wanted is a macro expanded in edit mode, so that what's written in the result markdown files is the expanded content instead of the macro markup. Is there anything like that? @dometto |
For example:
_Template.md
Date: {{YYYY-MM-DD}} # {{page_name}} Body ...
The text was updated successfully, but these errors were encountered: