ZypeC is the set of easy-to-use Compilers based on Python. Unfortunately it only supports Markdown to HTML Compilation. But the Markdown Compiler is also very powerful.
Examples
# H1
## H2
### H3
#### H4
##### H5
###### H6
To
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ZypeC Generated HTML Pages</title>
</head>
<body>
<h1>H1</H1>
<h2>H2</H2>
<h3>H3</H3>
<h4>H4</H4>
<h5>H5</H5>
<h6>H6</H6>
</body>
</html>
How to start ?
Firstly, create a zype.config.json file with the content:
{
"compiler": "compiler.json"
}
And then, create a compiler file as you've mentioned in compiler with the content to compile a Markdown file named file.md to HTML:
{
"file": "file.md",
"Content-Type": "text/markdown",
"to": "html"
}
And finally, run the following command to start compilation.
zype start
Top comments (0)