# Calendar Popup Calendar Popup is a Sublime Text package that shows a `cal`-style calendar in a popup near the cursor. The current date is highlighted when it appears in the rendered month range. ## Commands ### `show_calendar` Shows a calendar popup. Arguments: - `before` — number of months before the current month to include. Defaults to `0`. - `after` — number of months after the current month to include. Defaults to `0`. Examples: ```json { "command": "show_calendar" } ``` Shows the current month. ![example of popup](docs/example.png) ```json { "command": "show_calendar", "args": { "before": 1, "after": 1 } } ``` Shows the previous month, current month, and next month in a row, similar to: ```sh cal -B 1 -A 1 ``` ![example of popup with range](docs/example-range.png) ## Command Palette Entries - `Calendar: Show Current Month` - `Calendar: Show Previous, Current and Next Month`