p5-manager icon indicating copy to clipboard operation
p5-manager copied to clipboard

Custom Templates

Open kravenoff42 opened this issue 7 years ago • 1 comments

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!

kravenoff42 avatar Oct 01 '17 03:10 kravenoff42

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

chiunhau avatar Nov 06 '17 15:11 chiunhau