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

Custom Templates #24

Open
kravenoff42 opened this issue Oct 1, 2017 · 1 comment
Open

Custom Templates #24

kravenoff42 opened this issue Oct 1, 2017 · 1 comment

Comments

@kravenoff42
Copy link
Contributor

Hey this is a great tool, thanks for making it!

I was taking a look at the coding for the generator and I thought it might be cool if you could create custom template files, ( ie 'my_custom.html', my_sketch.js', etc.) put in the templates directory with some command like 'p5 template [filename.js]', and then a way to set it as the default like 'p5 template set [filename.js]'

I'm only just learning node.js so I'm not really sure how to implement this as it is.

But a someone who likes to tweak his environment to save time I would love a feature like this.

if it seems like a feature too far I understand, especially since I could just edit the template files manually to have the same effect.

Thanks!

@chiunhau
Copy link
Owner

chiunhau commented Nov 6, 2017

OK!! I think it's pretty cool to have this feature. I'll work on it asap 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants