Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Promoting and renaming variables
These variables will be made always available, i.e. they do not require debug mode anymore, in SC
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm thinking about the following new variables:
{{obsidian_version}}
- done & released{{operating_system:name}}
- done & released{{operating_system:version}}
- not doneAdded 2023-04-02:
{{sc_plugin:plugin-version}}
- done & released{{sc_plugin:settings-version}}
- done & releasedThese are not so much needed for practical, real world usage, but I'm building a test suite and the idea is to be able to automatically insert those three details in each test report.
Another way
{{variable}}
in any case, unless Obsidian introduces a commandline API that can tell the version. I guess a{{variable}}
is the easiest thing.(Offtopic: I'll create a new discussion about the test suite when I have developed it further. Basically the idea is to ensure a high quality and reliably functioning plugin. All bugs cannot be found in testing, but with solid testing it's more encouraging to release new versions when I know that the product has gone through a detailed and standardised test that should bring up most issues.)
Beta Was this translation helpful? Give feedback.
All reactions