Answer the question
In order to leave comments, you need to log in
How do you make it easier to work with HTML preprocessors?
I want to start using HTML preprocessors in particular pug (former jade). The problem is that writing HTML right away in the preprocessor code is somewhat inconvenient and cannot be taken and viewed in a browser without compiling it into normal HTML.
How do you usually act? Do you write everything in the preprocessor code at once, or at the beginning in HTML, and then, if the result suits you, translate it into the preprocessor code?
Or maybe there are other options?
Or just write:
doctype html
html
head
title includeExample
body
h2 the following content is not in this file ...
include otherfile
Answer the question
In order to leave comments, you need to log in
at the beginning in HTML, then if the result suits the preprocessor code, translate it?
The code is immediately written in Jade (Pug), because it is many times more convenient.
Here is a converter that will help for the first time:
html2jade.org
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question