Slideform has some helpful automatic pragma functions to fill in date ranges and page numbers
Built-in pragma functions in Slideform
All built-in functions begin with fn: inside the curly braces. These pragmas may be used as text placeholders on your slides or in the output filename.
- fn:date - This function provides today's date. It can be formatted in a variety of ways in the formatting options.
- fn:dayofweek - Provides the name (Monday, etc.) corresponding to today's date.
- fn:month - Provides the name (January, etc) of the current month.
- fn:priormonth - Provides the name (January, etc.) of the prior month.
- fn:week - Provides the date range of the current week as "Start Date - End Date". Set the week start day to either Monday or Sunday in the project settings. The format of the start and end dates may be configured in the formatting options.
- fn:priorweek - Provides the date range of the prior week as "Start Date - End Date". Set the week start day to either Monday or Sunday in the project settings. The format of the start and end dates may be configured in the formatting options.
- fn:year - Provides the current year (2024, etc).
- fn:prioryear - Provides the prior year.
- fn:page - Automatically fills in the slide number in the output slide deck.