I love Markdown and I can turn it to a beautifully looking HTML layouts. I'm built and distributed as a Node.js module. Gulp.js is the base that I'm staying on. If you do not want to use a database to store your content, I can help you. Write everything in Markdown format, and I'll convert it to HTML.
In the content driven website (like a blog for example), the writing should be easy and fluent. Markdown language gives us the simplicity that we need. However, sometimes converting .md files to .html files is not enough. Techy is an instrument that uses Markdown as a base, but also makes your pages programmable. For example:
<% set('username', 'Big Joe') %>
# Article title
> author: <% get('username') %>
Hello, my name is <% get('username') %>. I'm a web developer.
is transformed to:
<h1 id="article-title">Article title</h1>
<blockquote>
<p>author: Big Joe</p>
</blockquote>
<p>Hello, my name is Big Joe. I'm a web developer.</p>
In other words, there are JavaScript expressions that you may write between <%
and %>
and fetch information based on other files in your codebase. For example generating
a site map or showing the latest added Markdowns.
Install Techy from the command line by running the following:
npm install -g techy
Aaaand ... that's it. Create an empty directory and put your Markdown files inside. If you type techy --theme default
in the same folder and press Enter, you will see all the materials converted to
HTML. They will be nicely placed inside a _dist
folder.
Techy is not only generating HTML markup. It puts your writings into a nicely formatted layout.
Checkout the full documentaiton here or fork the Techy project in GitHub.