Releases: Rignchen/htmlCompiler
Releases · Rignchen/htmlCompiler
Release list
v0.5
0.5.0:
- Add pass balise to keep model balise from last model file
- Implement templates
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/style.css">
<title>Document</title>
</head>
<body>
<model/>
</body>
</html>
<def-template-pomme>
Hello, World!
</def-template-pomme>+
<model>
<h1>
<template-pomme/>
</h1>
<template-name args="coucou;pomme"/>
<def-template-name>
<div>
<arg/>
</div>
<h1>
<arg/>
</h1>
</def-template-name>
<template-name args="hello;apple"/>
</model>->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/style.css">
<title>
Document
</title>
</head>
<body>
<h1>
Hello, World!
</h1>
<div>
coucou
</div>
<h1>
pomme
</h1>
<div>
hello
</div>
<h1>
apple
</h1>
</body>
</html>v0.4
0.4.0:
- Fix crash on windows caused by the \ in path
- Add a command to start/stop localhost during the script running
- Implement css selector inside the css content
h1,
label {
background-color: aqua;
span,
:has(input[type="checkbox"]:checked) {
background-color: blue;
}
color: red;
span {
border: 5px black solid;
div {
display: flex;
}
}
}->
h1,
label {
background-color: aqua;
color: red;
}
h1 span,
label span {
border: 5px black solid;
}
h1 span div,
label span div {
display: flex;
}
h1 span,
h1:has(input[type="checkbox"]:checked),
label span,
label:has(input[type="checkbox"]:checked) {
background-color: blue;
}v0.3
0.3.0:
- Add new zip command to zip compiled version of the website
- Add argument to start localhost on script start
0.3.1:
- Display message with used port when starting localhost
0.3.2:
- Remove print from localhost
- Fix crash with help command in shell
V0.2.1
- fix crash when deleting model and children at the same time
- format compiled code for it to look better ok
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div>
<label>
<span>
<h1>Hello world</h1>
</span>
<input type="checkbox">
</label>
</div>
</body>
</html>->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Document
</title>
</head>
<body>
<div>
<label>
<span>
<h1>
Hello world
</h1>
</span>
<input type="checkbox">
</label>
</div>
</body>
</html>