dscr="Insert the current datetime with locale daylight saving."
},
{
f(get_datetime,{})
}
),
s(
{
trig="date",
name="Date",
dscr="Insert the current date."
},
{
f(get_date,{})
}
),
s(
{
trig="id",
Name="ID",
dscr="Insert an id based on the current datetime."
},
{
f(get_id,{})
}
),
s(
{
trig="today",
Name="Today",
dscr="Insert the number of the current day."
},
{
f(get_day,{})
}
),
s(
{
trig="fm",
name="YAML frontmatter",
dscr="Insert a YAML frontmatter for markdown files.\n\nIt has a datetime with the locale daylight saving time, and an ID based on the datetime.\nTab to jump to next text input."
dscr="Insert a YAML frontmatter for INC notes.\n\nIt has a datetime with the locale daylight saving time, prefilled title, author, categories and tags.\nAdjust the title manually."
},
fmt(
[[
---
title:{1}
creation_date:{2}
author:iGormilhit
categories:[inc]
tags:[notes,quotidien,{3}]
---
]],
{
f(get_month_year,{}),
f(get_datetime,{}),
f(get_month,{})
}
)
),
s(
{
trig="reflink",
name="Reference link",
dscr="Insert a link with reference syntax",
docstring="[Link text][Reference]\n\n[Reference]: Link Target \"Title\"\n\nTab to jump to next text input. \"Reference\" is automatically repeated."