You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many snippets are including code that is intended to be used in different files, including some of my own, it would be better if we were able to have different blocks of code per file which would provide a clearer visual separation rather than having to add multiple empty lines and comment blocks. Would also be nice to optionally add path/filename along with each block of code.
The text was updated successfully, but these errors were encountered:
You could differentiate a plain snippet from a post/article. this could have basically a +- snippet via javascript, which adds more input title+textareas into the form using php's to put code into. upon post, it submits a snippet as a bundle of snippets. you just would need a flag in a database which identifies the parent snippet of the subsnippets, with the parent snippet only describing each of the associated snippets.
the other option is, create an interface which automatically does the above and publishes it into the simple markdown needed for presentation of the "snippet". Hmm hows the best way to implement this? :)
Many snippets are including code that is intended to be used in different files, including some of my own, it would be better if we were able to have different blocks of code per file which would provide a clearer visual separation rather than having to add multiple empty lines and comment blocks. Would also be nice to optionally add path/filename along with each block of code.
The text was updated successfully, but these errors were encountered: