A ```calendar fence draws a calendar inside the note, in reading mode, in formatted editing and in print. It is a real table, not an image: you can select it, copy it (pasted into Word or Excel it keeps the cells) and find an event with Ctrl+F. The first line says which calendar: a month (2026-09) shows the month; a date (2026-09-24) shows the week that contains it, with days in the columns and hours in the rows; and week shows a week without dates — a class timetable, a routine, a shift roster. Each following line is an event or an option, and lines starting with %% are comments. To start, use Insert → Calendar on the note bar (monthly, weekly or weekly without dates, already filled with examples) or type /calendar.
Month. An event starts with the day number: 15: Thesis defense marks a day, 22-26: Conference marks a range, and 24: with no text just highlights the day. A range's text appears on its first day and, when it crosses into the next week, also at the start of the following row.
```calendar
2026-10
15: Thesis defense
22-26: Conference
```
Week. An event starts with the day's name — mon, tue,thu or mon-fri — followed by the time: mon 09:00-10:30: Meeting. The time is written 09:00, 9h30 or just 9; without it, the event goes to the top row, the all-day one (fri: Deadline). Because the day is a name, copying the block to the next week changes only the first line. days: mon-fri picks the columns, in the order of the list; hours: 8-18 fixes the range (without it, 8 to 18, stretched to fit the events; with it, an event outside the range is refused); and step: 30 gives the minutes per row. A long event writes its text, with the time, only in its first row and tints the following ones.
```calendar
2026-10-14
days: mon-fri
mon,wed 09:00-10:30: Team meeting
tue 14-16: Study
tue 16-17: Review
fri: Project due
```
In all three forms, title: replaces the bar's title (in the week without dates, the bar appears only with it), week: monday starts the week on Monday (the default comes from the note's language; with days:, the order of the list rules) and today: no removes the mark on today — in the week without dates, the mark is the weekday. Events that touch get different colors, so they don't read as one. The language of the months and weekdays is the note's (the lang key in the frontmatter), and the weekend follows that language's custom. Today is marked only on screen: on paper and in PDF it is not, because whoever reads it does so on another day. To change the calendar, press Ctrl+Enter on it and edit the source in the bar — typing in a cell changes nothing, because the table is generated from the source. With the bar open, the table is redrawn as you type; closing the bar applies it, and Ctrl+Z undoes the whole change in one step. When exporting (Word, OpenDocument, HTML, LaTeX, GitHub Markdown), the calendar becomes a regular table with the title. When the source cannot be read as a calendar, LightNote tells you the line and the text, and the code block stays as you wrote it. Inside a quote or a list, the calendar appears in reading mode and stays as code in formatted editing.
Index
Editing
- Overview
- Getting started
- Workspace and windows
- Activities panel: tasks and messages
- Code editor
- Markdown and wikilinks
- Diagrams (Mermaid)
- Mathematics and chemistry (LaTeX)
- Calendar in a note
- Numbering and cross-references
- Citations and references
- Academic paper standard
- Connections graph
- Tables (Parquet, CSV, JSON, Excel)
- Analysis area: pivot table and several charts
- PDF and images
- Images: marking up a screenshot
- HTML pages (.html)
- Printing
- Zip as a folder (.zip)
- Blocks (.lnb)
- Tasks (Kanban / Gantt)
- Custom table (.lnd)
- Bases (saved queries over your notes)
Tools
- Search in files and Pending items
- Versioning (easy Git)
- Snapshots and backup
- Review changes (checkpoints)
- Compare files (diff)
- Run code (F5)
- Terminal and AI CLIs
- AI assistant on the selection (Ctrl+K / Ctrl+I)
- AI on your computer
- AI sessions
- AI Chat
- Test HTTP APIs (.lnh)
- Databases (.lnc)
- SSH connection (.lns)
- Security: Passphrase, PIN and Secure Markdown
- Daily notes, quick capture and tray
- Resurface old notes
- Your notes on your phone
- Record audio (voice, meeting) with AI transcription
- Sticky notes
- Calendar
- Command palette
Automation (AI / scripts)
Reference