Add readme with example

This commit is contained in:
uid 2017-10-30 21:19:07 +01:00
parent 7b41841dd2
commit b8d13bbdbc

53
README.md Normal file
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>
```