Code Monkey home page Code Monkey logo

markdown-calendar-generator's Introduction

Markdown Calendar Generator

Try the online demo!

Examples

To get the markdown calendar of June, 2022, just run

python main.py --year 2022 --month 6 --start_sunday

| Sun             | Mon             | Tue             | Wed             | Thu             | Fri             | Sat             |
| --------------- | --------------- | --------------- | --------------- | --------------- | --------------- | --------------- |
|                 |                 |                 | [1](#20220601)  | [2](#20220602)  | [3](#20220603)  | [4](#20220604)  |
| [5](#20220605)  | [6](#20220606)  | [7](#20220607)  | [8](#20220608)  | [9](#20220609)  | [10](#20220610) | [11](#20220611) |
| [12](#20220612) | [13](#20220613) | [14](#20220614) | [15](#20220615) | [16](#20220616) | [17](#20220617) | [18](#20220618) |
| [19](#20220619) | [20](#20220620) | [21](#20220621) | [22](#20220622) | [23](#20220623) | [24](#20220624) | [25](#20220625) |
| [26](#20220626) | [27](#20220627) | [28](#20220628) | [29](#20220629) | [30](#20220630) |                 |                 |

Japanese calendars are also supported

python main.py --start_sunday --locale 'ja_JP'

| 日              | 月              | 火              | 水              | 木              | 金              | 土              |
| --------------- | --------------- | --------------- | --------------- | --------------- | --------------- | --------------- |
|                 |                 |                 | [1](#20220601)  | [2](#20220602)  | [3](#20220603)  | [4](#20220604)  |
| [5](#20220605)  | [6](#20220606)  | [7](#20220607)  | [8](#20220608)  | [9](#20220609)  | [10](#20220610) | [11](#20220611) |
| [12](#20220612) | [13](#20220613) | [14](#20220614) | [15](#20220615) | [16](#20220616) | [17](#20220617) | [18](#20220618) |
| [19](#20220619) | [20](#20220620) | [21](#20220621) | [22](#20220622) | [23](#20220623) | [24](#20220624) | [25](#20220625) |
| [26](#20220626) | [27](#20220627) | [28](#20220628) | [29](#20220629) | [30](#20220630) |                 |                 |

Options

  • --year: Integer specifying the year. Default value is the current year.

  • --month: Integer specifying the month. Default value is the current month.

  • --locale: String specifying the locale. Default value is "en_US". "ja_JP" and "zh_TW" are also available.

  • --link_style: String specifying the style of the hyperlink. Default value is "%Y%m%d".

  • --format: String specifying the output format. Default value is "md". "csv" is also available.

  • --start_sunday: Flag that specifys whether a week starts from Sunday.

markdown-calendar-generator's People

Contributors

kaiwinut avatar

Stargazers

Matt Anderson avatar

Watchers

 avatar

Forkers

fatualux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.