NEW HOUSE FENG SHUI

People email me all the time wanting to know how to get the energy right in their new home before they move in. Recently, my client Bethany reached out excited about her new home, but she wanted to…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Convert Markdown to PDF using Typ

Typ is a command line application that lets you turn Markdown documents into formatted PDFs.

It automatically formats things like chapter headings and text decorations. It can format code blocks with syntax highlighting, supporting a number of programming languages.

Typ can also produce features found in traditional print, like page numbers and a table of contents.

Let’s look at an example of how to use Typ.

Now it’s time to create the PDF. Open a command line terminal and run:

typ typeset -i text.md

Typ will use the Markdown in text.md to produce a PDF called output.pdf.

Here’s an excerpt from the end result:

Add a comment

Related posts:

For Love Sake

If you are rushing at the expense of love, think twice. Think why you are rushing in the first place.

PBR Cookout

While Missouri Western is only halfway through the fall semester, it has already had quite a line-up of events that have taken place on and off campus. The school has especially turned up a couple of…

What happens when you type google.com in your browser and press Enter

When you type a URL in the search bar a series of events occurs in a very short period of time that you don’t even notice such as DNS request, etc. In this article we are going to discuss some of…