Self-contained markdown compiler generating self-contained HTML documents