Illustrated Examples Of How To Create HTML, EPUB and PDF's With Markdown

0 minute read Modified:

Markdown has gained much traction due to it’s simple syntax and ease of use. You can edit Markdown in plain text, unlike HTML with it’s taggy surrounds. Hyperlinks to other documents and urls are retained without affecting readability. Other attributes will be color-coded in your text editor. Nowadays, markdown is widely used for project documentation, jupyter notebooks and rendering static webpages (like this one!) on modern web frameworks. It is super useful for vimwiki, a personal text-based wiki plugin for Vim.

Code Tip: Use the following command to extract the articles in *clean markdown* from a folder of `.html` documents (you will need `rdrview` (from github) and `pip install html2markdown`):
`for i in *.html ; do echo "$i" && rdrview --template=title,sitename,byline,body -H $i | html2markdown --no-skip-internal-links --no-automatic-links --no-wrap-links --ignore-images --unicode-snob --mark-code --body-width=0 --single-line-break --decode-errors=ignore > $ ; done`

This guide will help you get to grips with writing markdown for yourself.

How I Set Up A Blogging Website With Hugo Static Site Generator

7 minute read Published:

Building a website takes dogged determination. If you stick with it, you wind up with a platform to show off your awesome brand; you! Choose a ready-made plan like Wordpress or Wix and you are stuck with a convoluted system of extensions and dependencies. The compromised security and longer loading times may negatively affect your search engine rankings.

A website running on the newer JAMstack architecture delivers better performance, higher security, lower cost of scaling, and a better developer experience. A Static Site Generator (SSG) is an automated build system that can quickly serve pre-baked markdown stored to a Content Delivery Network (CDN) and has none of the moving parts of a traditional LAMPstack. A CDN is a geographically distributed group of servers which work together to provide fast delivery of Internet content, rather than being stored on a single server. A CDN augments traditional web hosting, by caching content at the network edge, which improves website performance.