Add readme with example

web
uid 2017-10-30 21:19:07 +01:00
parent 7b41841dd2
commit b8d13bbdbc
1 changed files with 53 additions and 0 deletions

53
README.md 100644
View File

@ -0,0 +1,53 @@
# 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>
```