Closed Kristinita closed 7 years ago
@jsliang , I fix #30 in new commit.
Thanks.
@jsliang , ping.
Thanks.
Hi @Kristinita ,
Thank you for your PR and sorry for the late reply! Haven't been logged in to github for quite a while.
Jenny
Type: Update request 📈
@jsliang, what about merging st3
branch (with my pull request) to the master
branch? Sublime Text 2 hasn’t been updated since 2013; in 2021, Sublime Text 4 appeared. I think it’s time to drop support for Sublime Text 2 or at least make the version for Sublime Text 3 as main branch.
Plugin version from st3
branch still works for me in Sublime Text 4 Build 4169.
Thanks.
1. Behavior before pull request
I create a new Markdown file → Ctrl+Shift+P (⌘⇧p for Mac) →
Pelican: Insert Metadata
→ metadata insert:Ctrl+Shift+P (⌘⇧p for Mac) →
Pelican: Update Article Date
→Date
metadata variable update:2. Behavior after pull request
I add a new metadata variable Modified.
I create a new Markdown file → Ctrl+Shift+P (⌘⇧p for Mac) →
Pelican: Insert Metadata
→ metadata with newModified
variable insert,Modified
value =Date
value:Ctrl+Shift+P (⌘⇧p for Mac) →
Pelican: Update Modified
→Modified
variable update,Date
variable stay constantly.3. Argumentation
See @jachin arguments.
Date
variable — time, when we create article or page.Modified
variable — last update time article or page. We must updateModified
, notDate
. See File Metadata section in official documentation.4. Testing environment
Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126 Syntax: Markdown
5. Notes
rst
files.Modified
variable doesn't update by save.Thanks.