Drafts - Autocomplete
Select Enable Global Autocomplete and Process Template Tags in the Autocomplete tab of Editor Settings, and specify the trigger text (!!) to be replaced by the corresponding value as output.
Dates
Use some of these suggestions for days, dates, and times that I defined.
NAME | VALUE | OUTPUT |
---|---|---|
Date: Short | [[date|%Y-%m-%d]] | 2023-11-16 |
Date: Long | [[date|%B %e, %Y]] | November 16, 2023 |
Date: Numeric | [[date|~yyyyMMdd]] | 11/16/2023 |
DayDate: Short | [[date|%a, %b %e, %Y]] | Thu, Nov 16 |
DayDate: Long | [[date|%A, %B %e, %Y]] | Thursday, November 16, 2023 |
DayDateTime: Short | [[date|%a, %b %e, %l:%M %p]] | Thu, Nov 16, 3:39 pm |
Time: Short (12 hr) | [[date|%l:%M %p]] | 3:40 PM |
DateTime: Short | [[date|%b %e, %l:%M %p]] | Nov 16, 3:40 PM |
DateTime: Long | [[date|%b %e, %Y, %l:%M %p]] | Nov 16, 2023, 3:40 PM |
DateTime: Numeric | [[date|~yyyyMMddHHmm]] | 11/16/2023, 15:40 |
Markdown
The built-in Markdown syntaxes provide two additional default autocomplete suggestion triggers:
- Cross-links:
[[
: Allow selection of draft titles to ease creation of[[wiki-style]]
cross-links to other drafts - Draft insertion:
<<
: Allows selection and insertion of the full text of other drafts at the cursor position.
Custom syntax definitions may include additional autocomplete definitions. Consult syntax development documentation for any installed custom syntaxes for capabilities they may provide.