A Red Envelope Tracker: Log Gifts Given and Received in a Table
Quick answer
A red envelope tracker is a single Markdown table with one row per envelope: date, whether you gave or received, the person, the occasion, the amount, and a short note. Lunar New Year 2027 begins on 6 February, so a file started now is ready before the first envelope changes hands.
A red envelope (hongbao, lai see, ang pau) is a gift of money given at holidays and at occasions such as weddings, graduations and birthdays. The same source notes that wedding amounts are often recorded in ledgers, so keeping a record is an old habit, not a new one. If you are also planning visits and meals, pair this with a Lunar New Year planner.
One caution: customs differ by region and by family. This article shows you how to record what happened. It doesn't tell you what to give.
Step-by-step
1. Create one file per year
Name it red-envelopes-2027.md. One file per year keeps each table short and lets you compare years by opening two files side by side.
2. Write the table
A GFM table has a header row, a delimiter row of hyphens, and any number of data rows. Cells are separated by pipes. Start with this:
| Date | Direction | Person | Occasion | Amount | Currency | Note |
| ---------- | --------- | ------------- | --------------- | -----: | -------- | ------------------- |
| 2027-02-06 | Given | Cousin Mei | Lunar New Year | 20 | USD | New bills |
| 2027-02-06 | Received | Aunt Lin | Lunar New Year | 50 | USD | Opened at home |
| 2027-02-12 | Given | Building staff| Lunar New Year | 10 | USD | Handed over at door |The names and amounts above are made up, so swap in your own. Add or drop columns as you like; a column you never fill in is just clutter.
3. Right-align the amount
In the delimiter row, a colon on the right (-----:) right-aligns that column, and a colon on the left aligns left. Colons on both sides center it. Right-aligned amounts are easier to scan when you add them up.
4. Fill in received rows after opening
It is traditional to avoid opening the envelopes in front of the relatives, out of courtesy. So log what you received later, in private, rather than at the table. Given rows you can write the moment you hand the envelope over.
5. Add a totals table
Under the main table, leave a blank line and add a second, tiny table:
| Direction | Total (USD) |
| --------- | ----------: |
| Given | 30 |
| Received | 50 |Update the totals by hand once a day; it takes a few seconds. If you want to follow up with thanks, a thank-you note tracker uses the same table pattern.
Common problems and fixes
A pipe in a note breaks the row. A pipe inside a cell is read as a column break. The GFM spec says to escape it with a backslash, like Aunt Lin \| paid in cash.
A row has the wrong number of cells. The header and delimiter rows must have the same number of cells, or the table is not recognized at all. In a data row, missing cells are filled in as empty, and extra cells are ignored. So an extra cell can silently drop part of your note. Count your pipes.
The table stops halfway. A table ends at the first blank line, so a stray empty line inside it splits it in two. Keep all rows together.
You gave in more than one currency. That is why there is a currency column. Keep the amount a plain number with no symbol, and total each currency separately. For a wider view of holiday spending, see the holiday budget table.
You are not sure what amount is "right." Don't guess. Some families favor amounts ending in an even digit, treat nine as an exception and avoid four, but the same source says practices vary. Write what you actually gave and let the note column carry any family-specific context.
You worry the log feels transactional. It doesn't have to be a debt ledger. Think of it as memory: who was generous, who you forgot to thank, what you gave last year so you are not guessing this year.
Doing this with Carets
A tracker like this is plain text at heart, and Carets is a strong fit for it. It is a fast, native notes and code editor for iPhone, iPad, and Mac that handles Markdown and plain text in one place.
- Markdown and plain text. Your
red-envelopes-2027.mdstays an ordinary file you own. Tables are plain text, so you can open the file anywhere. - Files, projects, and tags. Keep one file per year in a "Family" project and tag it
lunar-new-year. Next year, duplicate the file and clear the rows. - Native on iPhone, iPad, and Mac. Add a row on your phone at the door, then tidy the table on your Mac later. It is built for Apple devices, not a web wrapper, so it opens quickly.
Get Carets on the App Store for iPhone, iPad, and Mac, and start next year's table today.
Frequently Asked Questions
How much should I put in a red envelope?
There is no single standard amount. Customs vary by region and family. Amounts commonly end in an even digit, nine is an exception, and four is avoided. Your tracker records what you chose; it does not set a rule.
Should I record what I received if I do not plan to give back?
Yes. A log is a memory aid, not a debt ledger. It helps you thank people and remember who gave what in earlier years.
Can a Markdown table hold amounts in more than one currency?
Yes. Give currency its own column and keep each amount as a plain number, so you can total each currency separately by hand or in a spreadsheet.
How do I keep the tracker private?
Keep it as a local file, one per year, and leave out the names of children if you ever share it. Do not paste it into shared documents.