aboutsummaryrefslogtreecommitdiff
path: root/my_snippets/markdown.snippets
AgeCommit message (Collapse)Author
2022-08-21update markdown snippetjdhao
2022-03-05add new markdown snippetjdhao
2022-02-11update Markdown snippetjdhao
2022-02-08update Markdown snippetsjdhao
2021-12-23remove double quotes for snippet triggerjdhao
2021-10-23update markdown snippetsjdhao
2021-02-21Add「直角引号」for Markdownjdhao
「」is useful when writing post in Chinese.
2021-01-13Update markdown snippetsjdhao
2020-11-15update markdown snippetsjdhao
2020-08-30add HTML font tag for Markdownjdhao
2020-05-25add more kbd tag snippetsjdhao
2020-05-25Update markdown.snippetsjdhao
2020-04-17fix: time zone info is now shownjdhao
datetime.now() produces a naive datetime object which does not know tzinfo. So the '%z' has no effect. We need to convert it to time zone aware object using `datetime.astimezone()`.
2020-03-30update: improve snippetsjdhao
2020-03-09Add detail snippetjdhao
2020-03-08Update snippetsjdhao
2019-12-22Update Markdown snippetsjdhao
2019-12-21Update meta markdown snippetsjdhao
The original snippet use vim interpolation and the date keeps changing while we are inside the snippet region, which is not desired. According to https://www.youtube.com/watch?v=JJQYwt6Diro, we can use Python interpolation and check if snip.c is empty to see if the interpolation has been finished. If the interpolation has finished (snip.c is empty in this condition), the date will be fixed and does not change when we are inside the snippet region.
2019-12-19Update markdown.snippetsjdhao
2019-12-19Update Markdown front matter snip triggerjdhao
2019-12-18Add markdown header snippetsjdhao
Now we can type h1, h2, ..., h6 and press <Tab> to generate header of corresponding level. It is more intuitive than vim-snippets's default snippets for headers, i.e., sec, ssec, and so on.
2019-12-03Update Markdown snippetsjdhao
2019-08-06update snippetsjdhao
2019-04-27Add Ultisnips snippetsjdhao