mirror of
https://github.com/aelve/guide.git
synced 2024-12-18 10:21:41 +03:00
c72815c436
* Render some elements of some pages with Mustache * Switch to Stack * Add a bit of tests * Turn the project into a library
14 lines
359 B
Plaintext
14 lines
359 B
Plaintext
Description
|
|
============================================================
|
|
|
|
This is a <span> that has a certain width:
|
|
|
|
* {{> space px=30}} creates 30 pixels of space
|
|
* {{> space em=10}} creates 10 ems of space
|
|
|
|
|
|
HTML
|
|
============================================================
|
|
|
|
<span style="margin-left:{{#px}}{{.}}px{{/px}}{{#em}}{{.}}em{{/em}}"></span>
|