+ 1
What is an HTML preprocessor .
Is anyone using it..please reply🙂
1 Resposta
+ 8
It's also called a template engine. It is an engine that transform domain specific code to HTML markup. For example, Twig or Jade.
{# This is Twig invented by Sensio labs #}
{% for user in users %}
<div> {{ user.name }} </div>
{% endfor %}
Fun fact:
Twig is written in PHP. PHP was originally created as a HTML preprocessor written in C.