Answer the question
In order to leave comments, you need to log in
What do you use to store code in layout?
Little by little different code fragments start to accumulate.
Is there any way to store them and group them. For example, like on codepen but with the ability to group them.
Those. for example, code for a slider containing JS, CSS, HTML, something in a group, for example Sliders, add code for HTML, CSS, JS and so that it is immediately executed and displayed side by side.
And if there are such local programs, then it would be generally super.
Answer the question
In order to leave comments, you need to log in
Locally, this is more of a question for the IDE and snippets. IDEs understand what language the file is in and offer the corresponding snippets, so you can duplicate a snippet with the same name, for example, "slider" for three languages, and insert all these three codes into three corresponding files - js, css, html.
this is what bem-tools / lego
does but no one bothers
with the maximum that is needed for everyday layout - live teplates
and copy-paste from SO is usually used
I myself am looking for such a program, it is important for me that the code can be stored and used offline. Gist works for me, but its web interface is terrible. And under Windows there is no software, alas
Maybe it's time for you to start using and reusing web components?
Like include? Then any local server will go with PHP. I recently tried jade, but I didn't like the syntax.
Not at all. What for? I created a start-kit for myself with all the tools and a starter set of code. Sometimes I update.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question