A plan for the Goa trip in March. This file is plain Markdown. The tools on this site turn it into a PDF, a web page or HTML with no edits.
| Item | Booked | Cost |
|---|---|---|
| Train, both ways | Yes | 2,400 |
| Stay, 3 nights | Yes | 6,000 |
| Scooter hire | No | 1,200 |
| Food and coffee | No | 3,500 |
| Total | 13,100 |
Prices are in rupees. The stay includes breakfast[1].
Tip: keep one day free. Plans made on the beach are usually better than plans made at a desk.
A few lines of Python are enough to split the total between friends.
costs = {"train": 2400, "stay": 6000, "scooter": 1200, "food": 3500}
friends = ["Asha", "Dev", "Kiran"]
total = sum(costs.values())
share = round(total / len(friends), 2)
for name in friends:
print(f"{name} pays {share}") # 4366.67 each
Inline code works too: run python split.py and share the result. Links stay clickable, like Indian Railways, and struck text stays struck.
Tables, code, task lists, quotes and footnotes all carry over. In a PDF, \pagebreak on its own line starts a new page.
Breakfast is served from 8 to 10. ↩︎