K
K
Kirill Shvets2018-05-09 14:33:56
HTML
Kirill Shvets, 2018-05-09 14:33:56

Preprocessor for HTML with inheritance?

Hello. Searched the Internet, but did not find an answer.
Can you please tell me if there is a preprocessor for HTML with inheritance. That is, with the analog & in Sass / SCSS.
To be able to write something like this (Emmet-style example to simplify):
.block>.&-elem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2018-05-09
@werty1001

If you need to write BEM code, then take PUG for it, there are wrappers like bemto / bempug , if you don’t want to use them, then you can use native PUG / HTML and emmet filters .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question