54 lines
483 B
Markdown
54 lines
483 B
Markdown
|
# Ciclostile
|
||
|
|
||
|
|
||
|
## TODO
|
||
|
|
||
|
- select input and output folders and template by parameters or config file.
|
||
|
|
||
|
|
||
|
## Example
|
||
|
|
||
|
Input markdown:
|
||
|
|
||
|
```markdown
|
||
|
Title: Home Page
|
||
|
|
||
|
# Site
|
||
|
|
||
|
Some text
|
||
|
```
|
||
|
|
||
|
|
||
|
Template:
|
||
|
|
||
|
```html
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>{{ title }}</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
{{ content }}
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
```
|
||
|
|
||
|
Output html:
|
||
|
|
||
|
```html
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Home Page</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h1>Site</h1>
|
||
|
<p>Some text</p>
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
```
|