Contracts that read like legal documents, not code

A purpose-built renderer that turns the contract's markdown into a typeset legal document — accented section rules, small-print notice blockquotes, money tables — in the builder's brand colour.

What it is

ContractMarkdown parses exactly the grammar the templates use: H1 title, H2 section headings with an accented bottom rule, H3 subsections, bullet lists, bold inline, horizontal rules, blockquotes for statutory notices, and pipe tables for the estimate breakdown. accentColor is a prop, so each tenant's contracts carry their own brand. The same component renders on screen and in print.

Also called: contract formatting · branded contract · legal document styling

See it
Contracts that read like legal documents, not code
Prepared for
Sutter Kline
1140 Ridge Line Rd · Fair Play
Shell package$28,080
Concrete & site$8,152
Doors & windows$5,435
Trim & finish$3,623
Total
$45,290
Signature
A rendered contract page: centred display-font title, uppercase accent-ruled section headings, an indented lien-notice blockquote, and a money table. ContractMarkdown.tsx. Sample data — no customer information appears here.
How it works
  1. 1The body is split into lines and grouped into blocks; consecutive quote lines, table rows and list items are collected together.
  2. 2H2 headings render uppercase with letter-spacing and a 2px accent rule at the tenant's brand colour.
  3. 3Blockquotes render as indented small print with a left accent bar — used for the mechanic's-lien and late-payment notices.
  4. 4Pipe tables render with a header row, an accent-coloured bottom border and a right-aligned tabular-numbers money column.
  5. 5Numbered H3s are tracked so an initials slot can replace the 'Client Initials' line inside them.
Why we built it

The component's docstring names the goal: 'Rendered as semantic HTML with the BarnHouse / construction palette so the contract reads like a real legal document rather than a code dump.' A customer asked to sign something that looks like a text dump does not feel like they are signing a contract.

The problem
  • Legal documents rendered as unstyled or monospaced text
  • Generic software branding on a builder's own agreement
  • Statutory notices indistinguishable from body copy
Sound familiar?
What you get
A typeset document in your brand colour
Notices and money tables that read correctly
Identical output on screen and in print

See it on your own jobs

Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.

or keep browsing features →