about markdown and layout

Mitsuo

2026-07-07

Dear Reader,

In this page I’ll talk about this site’s deployment tools and design.

Writing html is painful. Writing markdown is fine. pandoc is a great tool to generate html from markdown. The html output can be fully customized using pandoc-templates.

This site is deployed using standard dev tools like make, rsync, and nginx istead of using a static site generator. The initial configuration takes longer, but it keeps things bare-bones.

“Reusable components” like the site-nav can be defined in individual html files and included in all pages using Nginx Server Side Includes.

0.1 About the layout

I very much like typewriter-style typesetting. Monospace, 70-80 CPL, double sentence spacing, simple formatting. It just feels good, nostalgic. Pragmatic times, where the focus was on content.

This site uses a responsive, monospace layout inspired in typewriter-style manuscripts. On a desktop screen, it caps out at exactly 80 characters wide per line. But on a smartphone the lines wrap within the small screen boundaries, so that no horizonal scrolling is necessary.

The rest of this page just showcases typesetting.

パンチカード(英語:punched card)は、穿孔カードなどともいう、厚手の紙に穴を開けて、その位置や有無から情報を記録する記録媒体で、以前には鑽孔紙テープとともに多用された。電子式コンピュータ以前のパンチカードシステムの時代から多用されたものであるが、近年はコンピュータ用の主力メディアとしては過去のものとなっている。画像などといった大容量のデータを負担なく扱えるようになる以前には、四角い窓を作ってそこに写真フィルムを張る、といった使い方や、端に切れ込みを入れて串を使った手作業で分類できる edge-notched card(#ハンドソートパンチカードの節を参照)など、紙テープとは違ったカードならではの使い方もある。

1 base

1.1 heading

1.1.1 sub-heading

1.1.1.1 sub-sub-heading

  1. item 1
  2. item 2
  3. item 3

normal, italic, bold, monospace, link

If you open this exact email on an iPhone or Android device, the lines will not overflow or create a horizontal scrollbar. Instead, the white-space: pre-wrap rule forces the text to wrap fluidly within the screen boundaries, just like a standard paragraph tag would.

yes

#include <stdio.h>

int main() {
    printf("hello world\n");
//40-----|---------|---------|--------->
//80-----|---------|---------|---------|---------|---------|---------|--------->
//120----|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|--------->
}

2 extensions

strikethrough

Name Age Occupation
Zhang 25 Engineer
Li 30 Designer
Wang 28 Product Manager

Best regards,
An 80-Column Enthusiast
site email tel x linkedin