hyper-render 0.2.2

A Chromium-free HTML rendering engine for generating PNG and PDF outputs
Documentation
<!DOCTYPE html>
<html>
<head>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: system-ui, sans-serif; background: #f5f5f5; padding: 20px; }
        .card { background: white; border-radius: 8px; padding: 24px; margin-bottom: 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
        h1 { font-size: 24px; color: #1a1a1a; }
        .badge { background: #4f46e5; color: white; padding: 4px 12px; border-radius: 16px; font-size: 12px; }
        .content { color: #4a4a4a; line-height: 1.6; }
        .stats { display: flex; gap: 24px; margin-top: 16px; }
        .stat { text-align: center; }
        .stat-value { font-size: 32px; font-weight: bold; color: #1a1a1a; }
        .stat-label { font-size: 14px; color: #6b6b6b; }
        .list { margin-top: 16px; }
        .list-item { padding: 12px 0; border-bottom: 1px solid #e5e5e5; display: flex; justify-content: space-between; }
        .list-item:last-child { border-bottom: none; }
    </style>
</head>
<body>
    <div class="card">
        <div class="header">
            <h1>Dashboard</h1>
            <span class="badge">Active</span>
        </div>
        <p class="content">
            Welcome to your dashboard. This is a medium-sized HTML document used for
            benchmarking the hyper-render library. It includes various CSS features
            like flexbox layout, custom styling, and multiple nested elements.
        </p>
        <div class="stats">
            <div class="stat">
                <div class="stat-value">1,234</div>
                <div class="stat-label">Total Users</div>
            </div>
            <div class="stat">
                <div class="stat-value">567</div>
                <div class="stat-label">Active Today</div>
            </div>
            <div class="stat">
                <div class="stat-value">89%</div>
                <div class="stat-label">Retention</div>
            </div>
        </div>
    </div>
    <div class="card">
        <h2 style="margin-bottom: 12px; color: #1a1a1a;">Recent Activity</h2>
        <div class="list">
            <div class="list-item">
                <span>User signed up</span>
                <span style="color: #6b6b6b;">2 min ago</span>
            </div>
            <div class="list-item">
                <span>New order placed</span>
                <span style="color: #6b6b6b;">5 min ago</span>
            </div>
            <div class="list-item">
                <span>Payment received</span>
                <span style="color: #6b6b6b;">12 min ago</span>
            </div>
            <div class="list-item">
                <span>Report generated</span>
                <span style="color: #6b6b6b;">1 hour ago</span>
            </div>
        </div>
    </div>
</body>
</html>