For HTML and CSS there are a lot of pre-processors for example: pug for 
HTML and sass for css. Both of them have more than one way to define some 
section once and use it anywhere you like it. Basically you write source 
files in pug and sass format, and then compile those source files into the 
final HTML and CSS files. It requires some knowledge of new languages like 
pug and sass, but allows you to write much less source code for producing 
the same HTML and CSS.

Vitalije

On Saturday, March 9, 2019 at 7:18:39 PM UTC+1, Rob wrote:
>
> Thanks for clarifying, Vitalije. Yes, I'm the only one who would edit them 
> and I don't use external editors, so clones would certainly be the easiest 
> way to do that. I use \include{file.tex} for LaTeX documents, but don't 
> know about a similar mechanism for html or css documents. Any of the other 
> suggestions are way too complicated; especially compared to clones.
>
>
>> As long as you are not using any other editor to edit those files and you 
>> are the only one who edits them, it is safe to use cross-file clones for 
>> this kind of problem.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to