Closed pyjamads closed 3 years ago
Thanks for making this @argenos ! Hope this helps :)
Thanks @pyjamads. I tested the new build locally and can confirm everything works as desired. 👍
I.e. 4 separate actions/shortcuts for parsing dates & times.
With dates supporting parsing into either Obsidian Links [[date]]
, Standard Markdown Style Links [alias](date)
or Plain text. And times being parsed into plain text for easy interoperability with the Obsidian Day Planner Plugin.
Thank you very much for the PR! I haven't had much time these days to look into this, so I'll take your word for it! One minor thing before I merge, could you add a small section to the readme with the new commands and a few screenshots? And please also add yourself as the contributor!
Added the new commands to the README.md, with a small description for each of them. I think the contributors section will automatically be updated when you pull the PR, unless you want me to explicitly add myself in the README.md. :)
@pyjamads thanks! I know there's always the option to look at the commits and insights in GitHub, but if you want to add yourself to the README I wouldn't have a problem with that!
Nah, I'm good, thanks. And thanks for making this :)
Just released 0.3.2 with your PR and some other minor changes! Thanks again!
Awesome! 👍
FYI, this literally pastes the word selectedText
instead of the actual selected text. ;-)
Oh god, must have missed a set of " + + " @argenos hope you can sort that out 🤞
I’ll check as soon as I have a little time!
Went in and fixed the "selectedText" to "${selectedText}" in the link string, so it should be fixed with that.
Hotfix in https://github.com/argenos/nldates-obsidian/pull/17
Added two new commands:
[tag](date)
instead of replacing with[[date]]
)HH:mm
but uses the timeFormat defined in settings)