SelfscribeDownloadOpen the app

CV

A one-page CV that prints cleanly, written as a few short lines per job.

Document · Simple · uses print

Edit it in the playgroundRead the file

What it shows

Write a one-page CV that prints well, with a line of text for each job.

What you learn

A paper size, a look and a heading font, two columns from blocks inside a block, a line cut into parts, a class that places each part, skills as pills.

Try this

  • Add == Design intern | Penrose Studio | 2017 under the courses, and its dates line up with the others on the right.
  • Change accent in the palette to #2f6f4f, and the rule under the name, the labels and the employers turn green.
  • Change set page A4 to set page Letter, and print it (File › Print). It still fits one page.
examples/cv.self · 136 lines
~~~ selfscribe
# Lesson: Write a one-page CV that prints well, with a line of text for each job.
# You learn: a paper size, a look and a heading font, two columns from blocks inside a block, a line cut into parts, a class that places each part, skills as pills.
# Try this: add `== Design intern | Penrose Studio | 2017` under the courses, and its dates line up with the others on the right.
# Try this: change `accent` in the palette to #2f6f4f, and the rule under the name, the labels and the employers turn green.
# Try this: change `set page A4` to `set page Letter`, and print it (File › Print). It still fits one page.
# summary: A one-page CV that prints cleanly, written as a few short lines per job.
# category: writing
# tags: document, simple, work
# uses: print
use markdown
set title CV
# ---- The paper, the look, the fonts and the language ------------------------------------
set page A4 portrait margins narrow
set style paper compact sans
set heading-font Instrument Serif
set lang en-GB

# ---- Colours, each with its shade for dark pages -----------------------------------------
palette
  accent  #b4462b  dark #f2a183
  quiet   color-mix(in srgb, currentColor 64%, transparent)
  rule    color-mix(in srgb, currentColor 14%, transparent)
  tint    color-mix(in srgb, var(--accent) 11%, transparent)

# ---- The header: "= Name", "> what you do", "contact a | b | c" ---------------------------
line   = _            -> div.cv-name      { font: 400 3.5em/0.95 var(--doc-font-heading); letter-spacing: -0.01em }  as cv-name
line   > _            -> div.cv-role      { margin: 0.55em 0 1.2em; max-width: 34em; font-size: 1.06em; line-height: 1.45; color: var(--quiet) }  as cv-role
line   contact _      -> div.cv-contact   split "|" span.cv-item  { display: flex; flex-wrap: wrap; gap: 0.3em 1.6em; margin-bottom: 0.4em; padding: 0.7em 0; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--rule); font: 500 0.78em/1.5 var(--doc-font-ui) }  as cv-contact

# ---- Two columns: a ":::: columns" block holding a "::: main" and a "::: side" -------------
# Blocks inside blocks need different fences (:::: and :::), so each closing line is clear.
block  :::: columns ... ::::  -> div.cv-columns   { display: flex; flex-wrap: wrap; gap: 0 2.8em }  as cv-columns
block  ::: main ... :::       -> div.cv-main      { flex: 2.3 1 22em; min-width: 0 }  as cv-main
block  ::: side ... :::       -> div.cv-side      { flex: 1 1 12em; min-width: 0; font-size: 0.92em }  as cv-side

# ---- "## Experience": a small label in the accent colour, with a hairline after it ---------
line   ## _           -> div.cv-label     { display: flex; align-items: center; gap: 0.8em; margin: 1.7em 0 0.2em; font: 700 0.66em/1 var(--doc-font-ui); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent) }  as cv-label
class  cv-label::after  { content: ""; flex: 1; border-top: 1px solid var(--rule) }

# ---- "== Role | Employer | Dates": a job or a course on one line --------------------------
# split cuts the line at each bar. The classes place the pieces: the role and the dates on
# the first row, the employer under the role.
line   == _           -> div.cv-entry     split "|" span.cv-part  { display: grid; grid-template-columns: 1fr auto; column-gap: 1em; align-items: baseline; margin: 1em 0 0.3em; break-after: avoid }  as cv-entry
class  cv-part:first-child  { font-weight: 650 }
class  cv-part:nth-child(2)  { grid-row: 2; font-size: 0.9em; color: var(--accent) }
class  cv-part:last-child  { grid-column: 2; grid-row: 1; font: 500 0.76em/1.4 var(--doc-font-ui); color: var(--quiet); font-variant-numeric: tabular-nums; white-space: nowrap }

# ---- "**a result**": the numbers that matter, in bold ---------------------------------------
inline **_**          -> strong.cv-win    { font-weight: 650; color: var(--accent) }  as cv-win

# ---- "skills a, b, c": each skill a pill; "fact Label | text": a small row in the side ------
line   skills _       -> div.cv-skills    split "," span.cv-pill  { display: flex; flex-wrap: wrap; gap: 0.35em; margin: 0.8em 0 0.2em }  as cv-skills
class  cv-pill  { padding: 0.15em 0.65em; border-radius: 999px; background: var(--tint); font: 500 0.74em/1.6 var(--doc-font-ui) }
line   fact _         -> div.cv-fact      split "|" span.cv-bit  { display: grid; grid-template-columns: 1fr auto; gap: 0 0.8em; padding: 0.42em 0; border-bottom: 1px solid var(--rule); font-size: 0.88em }  as cv-fact
class  cv-bit:last-child  { color: var(--quiet); font: 500 0.86em/1.5 var(--doc-font-ui); text-align: right }
~~~
= Priya Raman
> Senior product designer. I make public services that people use once a year and must get right the first time.

contact Bristol, UK | +44 7700 900 418 | priya.raman@example.com | priyaraman.example

:::: columns
::: main
## Profile

Eight years on tax returns, benefit claims and school admissions. I run research myself, turn it into prototypes within the week, and leave teams with components they keep using after I move on.

## Experience

== Lead product designer | Westmoor City Council | 2023 – now
- Redesigned school admissions for 14 000 families a year: incomplete applications fell from **11% to 3%**.
- Built the council's design system with two engineers: **46 components**, now used by nine teams.
- Ran 60 usability sessions a year, a third of them with people who use assistive technology.

== Senior product designer | Fernhill Digital | 2020 – 2023
- Led design on a benefits calculator for a national charity, used by **1.2 million people** in its first year.
- Mentored four junior designers; two now lead projects of their own.

== Interaction designer | Clearline Insurance | 2018 – 2020
- Rebuilt the claims form for phones: the time to finish it dropped from **19 to 8 minutes**.

## Education

== MSc Human–Computer Interaction | University of Bath | 2017 – 2018
== BA Graphic Communication | Falmouth University | 2014 – 2017
:::
::: side
## Skills

skills Research and testing, Prototyping, Accessibility (WCAG 2.2), Design systems, Service blueprints, Content design, Workshops, HTML and CSS

## Tools

fact Figma and FigJam | daily
fact Dovetail | research notes
fact Storybook | components
fact Miro | workshops

## Languages

fact English | native
fact Tamil | fluent
fact Spanish | conversational

## Speaking

fact Design in Government | 2025
fact UX Bristol meetup | 2024

## Right to work

fact United Kingdom | British citizen
:::
::::

---page---

## How it's made

The page is a few kinds of line. `= Priya Raman` is the name, `> …` the line under it, and `contact a | b | c` the row of details, cut at each bar.

Each job is one line, `== Role | Employer | Dates`. The rule `split "|"` cuts it into three parts, and three `class cv-part` lines place them: the role on the left, the dates on the right, the employer underneath.

The two columns are a `:::: columns` block holding a `::: main` and a `::: side`. On a narrow screen the side drops below the main column.

`set page A4 portrait margins narrow` chooses the paper. `set style paper compact sans` gives the sheet and the tight spacing, and `set heading-font Instrument Serif` sets the name.

## Try it yourself

1. Add `, Usability testing on phones` to the end of the skills line. A new pill appears.
2. Add `== Design intern | Penrose Studio | 2017` under the courses. A new line appears, with its dates on the right.
3. Change `accent` in the palette to #2f6f4f. The rule under the name, the labels and the employers turn green.
4. Change `set heading-font Instrument Serif` to `set heading-font Playfair Display`. The name changes typeface.

**Next:** *Letter to a list* prints a letter with a letterhead; *Printable checklist* prints a form to fill in by hand.