Articles
Published · November 18, 2026

Plain-Text Holiday Budget: Track Gift and Event Spending in a Table

A holiday budget fits in a plain Markdown table: planned, spent, and left for each gift and event. Here is the syntax, a sample, and the mistakes that break it.

Also in: Español中文हिन्दी

A holiday budget fits in one Markdown table with four columns: what you planned to spend, what you spent, and what is left. This is a holiday budget markdown table you can keep in a single text file, edit on your phone, and reuse next year.

Quick answer

A table in GitHub Flavored Markdown needs a header row and a delimiter row made of hyphens. In the delimiter row, colons set the alignment: a leading colon aligns left, a trailing colon aligns right, and both center. Right alignment suits money columns, so the numbers line up by their last digit.

One catch up front: Markdown tables have no formulas, so you type the totals row yourself. For a holiday list of a few dozen lines, that's a fair trade for a file that opens anywhere.

Step-by-step

Pick the columns

Keep it to five: who or what, the item, the budget, what you spent, and what is left. More columns make the raw text hard to read on a phone screen. Then you stop updating the file.

Build the gifts table

Here is a gifts table. The names and amounts are made up for the example, so swap in your own.

| Recipient | Item        | Budget | Spent | Left |
| :-------- | :---------- | -----: | ----: | ---: |
| Sam       | Cookbook    |  30.00 | 27.50 |  2.50 |
| Priya     | Scarf       |  40.00 | 44.00 | -4.00 |
| Group     | Gift swap   |  25.00 |  0.00 | 25.00 |
| **Total** |             |  95.00 | 71.50 | 23.50 |

The first column is left-aligned with :--------. The three money columns are right-aligned with a trailing colon. You do not have to pad the cells so the pipes line up in the source. GitHub's documentation says cells can vary in width and do not need to be perfectly aligned. Padding only makes the raw file easier for you to read.

If you also want idea lists and checkboxes, the gift list with budgets and checkboxes pairs well with this table: the list holds ideas, the table holds money.

Add an events table

Parties, travel, cards, and postage belong in their own table, with the same money columns so you can compare them at a glance.

| Event          | Date       | Budget |  Spent |   Left |
| :------------- | :--------- | -----: | -----: | -----: |
| Office party   | 2026-12-12 |  20.00 |  18.00 |   2.00 |
| Cards + stamps | 2026-12-01 |  35.00 |  41.25 |  -6.25 |
| **Total**      |            |  55.00 |  59.25 |  -4.25 |

Dates in YYYY-MM-DD form sort correctly as plain text, which helps if you reorder rows later. If you are also planning the event itself, a holiday party checklist covers tasks and guests in the same format.

Log spending and keep a totals row

Update the Spent cell as receipts arrive, then recompute Left and the totals row. A negative Left means you are over budget, and a minus sign in front of the number is enough to flag it. If you track sale-price research too, a Black Friday price tracker can feed the Spent column.

Two small habits keep the totals honest. Change the totals row last. Keep it inside the table, so a blank line doesn't cut it off.

Common problems and fixes

The table shows up as plain text. Check two things. The header row and the delimiter row must have the same number of cells, and the GFM spec says that if not, "a table will not be recognized." Also leave a blank line before the table, which GitHub's docs require for it to render.

A cell went missing or a value vanished. A body row with fewer cells than the header gets empty cells added. A row with more cells than the header has the extra ones ignored, so a stray pipe in a note can quietly drop your amount. Count the pipes on any row that looks wrong.

You need a pipe character in a note. Escape it with a backslash, like \|. Both the GFM spec and GitHub's docs describe this.

You want a long note, a list, or a second line in a cell. Pipe tables do not allow it. Pandoc's manual says the cells cannot contain block elements like paragraphs and lists, and cannot span multiple lines. Keep notes short, or put longer ones in a list under the table.

The totals row ended up outside the table. The table is broken at the first empty line or at the start of another block structure. Keep the rows together with no blank line in between.

You want a table with no header. The header cannot be omitted in Pandoc's pipe tables. Use a header with blank cells instead.

If returns are part of your holiday spending, a return deadline tracker keeps the dates in the same kind of file.

Doing this with Carets

A budget like this works because it's plain text. The file is yours, it opens in any editor, and it doesn't depend on one app staying around.

Carets is a native notes and code editor for iPhone, iPad, and Mac that handles Markdown and plain text. That makes it a good fit for a table you update from your phone in a checkout line and read again on your Mac at night. A few features matter here:

  • Markdown and plain text in one editor, so the table, your notes, and your gift ideas live together.
  • Files, projects, and tags, so you can keep a holiday-2026 tag and start a fresh file each year by copying the last one.
  • Native and fast, built for iOS and Mac rather than as a web wrapper.

Carets doesn't add formulas to a table, so you still type the totals. What you get is a calm editor and a file that stays portable.

Get Carets on the App Store for iPhone, iPad, and Mac.

Frequently Asked Questions

Can a Markdown table add up my totals?

No. The GFM table syntax has no formulas, so you type the totals row yourself, or work it out elsewhere and paste the result in.

Do the columns have to line up in the file?

No. GitHub's docs say cells can vary in width and do not need to be perfectly aligned. Padding is only for readability in the raw text.

How do I put a pipe character inside a cell?

Escape it with a backslash, as in \|. The GFM spec and GitHub's docs both describe this.

Should gifts and events share one table?

Two small tables are easier to scan and edit than one wide one, and each can carry its own totals row.