aoc-automation
Version:
Advent of Code tool to automate the repetitive parts of AoC.
28 lines (19 loc) • 463 B
text/typescript
import { stripIndents } from "common-tags";
const readmeDayMD = (year: number, day: number, title: string | null) => {
return stripIndents`
# 🎄 Advent of Code ${year} - Day ${day} ${
title != null ? "- " + title : ""
} 🎄
## Info
Task description: [link](https://adventofcode.com/${year}/day/${day})
## Results
\`\`\`
Time part 1: -
Time part 2: -
Both parts: -
\`\`\`
## Notes
...
`;
};
export default readmeDayMD;