Closed DamonOehlman closed 10 years ago
Oh, and the comment line after the //++
comment is just a sample that demonstrates the ability to associate some additional information with the include. Storing e-tags could be a useful way to avoid rerigging when the code is already at the latest version.
Had a thought last night about implementing reinclude support. Basically, thinking about something like:
currently is converted into the following:
But, I think the following would be more useful:
While the extra comments do add a little extra noise to the resulting output, they do provide a mechanism that would allow rerigging the file.
Primarily, my reasons for considering this is that using Chocolat's node integration I could enable people to rig inline while editing their code to bring in useful snippets rather than copying and pasting code. To ensure these snippets were up-to-date you would simply have to rerig the file.
Thoughts?