A Holiday Gift List in Markdown: Ideas, Budgets, and Checkboxes
A holiday gift list template needs only two Markdown features: a task list for the ideas and a table for the budget. Put both in one plain-text file and you can see at a glance who is covered, what you planned to spend, and what's still unbought.
The checkbox syntax
Gift status is a yes-or-no question for each item, and that's exactly what a task list answers. Start a list item with [ ] for open or [x] for done.
Unchecked, checked, and the space that matters
GitHub's docs put it plainly: preface list items with a hyphen and space followed by [ ], and use [x] to mark a task complete. The GFM spec is more precise. The marker is a left bracket, then either a whitespace character or the letter x (lowercase or uppercase), then a right bracket. If the character between the brackets is whitespace, the box is unchecked; otherwise it's checked. The marker also has to be followed by at least one whitespace character before the item text.
- [ ] Scarf for Dad
- [x] Board game for the kidsNest gifts under each person
The spec says task lists can be arbitrarily nested. That lets you make each person a parent item and give every gift idea its own checkbox underneath:
- [ ] Maya
- [x] Sketchbook
- [ ] Colored pencils
- [ ] Grandpa
- [ ] Wool socks
- [ ] Crossword bookIndent the child items by two spaces so they sit under their parent. Tick the parent when the last child is done. Nothing does that for you, so make it a habit.
One gotcha with parentheses
GitHub's docs note that if a task's description begins with a parenthesis, you need to escape it with a backslash. So - [ ] \(Optional) Stocking stuffers works as intended. Gift names that start with a parenthesis are rare, but if one renders strangely, this is why.
A budget table with right-aligned prices
Checkboxes tell you what's done. They don't tell you what you're spending, so add a table.
Header row, delimiter row, and alignment
| Person | Gift | Budget | Spent | Bought |
| :------ | :----------- | -----: | ----: | :----: |
| Maya | Sketchbook | $20 | $18 | x |
| Grandpa | Wool socks | $15 | | |
| Total | | $35 | $18 | |A GFM table is a header row, a delimiter row, and zero or more data rows. The delimiter row is made of hyphens, with an optional colon on the left, right, or both sides to align the column left, right, or center. Here -----: right-aligns the money columns, which keeps the digits lined up, and :----: centers the Bought column.
GitHub's table docs add three practical rules. Put a blank line before the table. Use at least three hyphens in each header column's delimiter. And the pipes on the outer edges are optional, as is lining the columns up neatly; the spacing above is just for readability in plain text.
The header row and delimiter row must also have the same number of cells. If they don't, the spec says the table won't be recognized and you'll see the raw pipes as a paragraph.
Totals are typed, not calculated
Markdown doesn't calculate anything. The Total row above is text you typed. When you change a price, update the total yourself, or work the sums out in a spreadsheet and paste the results in. For a budget cap, a sentence above the table with the number works too.
If you already track deals this way, the Black Friday price tracker uses the same table pattern, and a Hanukkah gift table shows one laid out by night.
Pipes in a gift name
A pipe separates cells, so a literal one inside a cell has to be escaped with a backslash: \|. Per the spec, this works even inside other inline spans such as code. Table cells can hold links, code, and emphasis, but not block elements like lists, so keep gift ideas in the checklist and numbers in the table.
Combining the list and the table in one file
Here is a layout that holds the whole season in one document:
## Ideas
- [ ] Maya
- [ ] Sketchbook
- [ ] Grandpa
- [ ] Wool socks
## Budget
| Person | Gift | Budget | Spent |
| :------ | :--------- | -----: | ----: |
| Maya | Sketchbook | $20 | |
## Status
- [ ] All gifts ordered
- [ ] All gifts wrapped
- [ ] Shipped gifts on their wayIdeas go in the nested list while you're brainstorming. Once an idea becomes a purchase, give it a row in the table. The short Status list at the bottom is your final pass before the holiday.
One caveat: the GFM spec doesn't define how checkboxes are interacted with. Some apps let you tap a box; others render it as read-only. In any editor you can change the character between the brackets yourself.
Keep the list useful after the wrapping
Next year, copy the file, change every [x] back to [ ], and clear the Spent column. Your people are already listed. When gifts need to go back, a return deadline tracker can sit in the same project, and the holiday party checklist is a companion if you're hosting too.
Doing this with Carets
A gift list is a small file you open often, usually from your phone in a store aisle. Carets fits that:
- Markdown and plain text in one editor. Type the task list and table syntax directly. The file stays plain text, so it's portable and future-proof.
- Files, projects, and tags. Keep a "holidays" project, tag each file with the year, and copy last year's list as your starting point.
- Native and fast on iPhone, iPad, and Mac. It's built for Apple platforms, not wrapped around a web page, so the list opens quickly wherever you are.
Carets is the best fit when you want your gift plans as plain text you own. Get it on the App Store for iPhone, iPad, and Mac.
Frequently Asked Questions
Does Markdown add up my gift budget for me?
No. A Markdown table is static text and nothing in it calculates. Type the totals yourself, or work out the sums in a spreadsheet and paste in the results.
Why is my gift table showing as plain text?
Usually the header row and the delimiter row have different numbers of cells, which stops the table from being recognized. A missing blank line before the table can cause the same problem on GitHub.
Can I tick the checkboxes in my editor?
It depends on the app. The GFM spec leaves checkbox interaction undefined, so some renderers show disabled boxes. In any editor, you can change [ ] to [x] by hand.