Skip to content
Snippets Groups Projects
Commit 391f2b82 authored by Christian Bager Bach Houmann's avatar Christian Bager Bach Houmann
Browse files

docs: write how to capture timestamps on mobile and desktop

parent c5a4c24b
Branches gh-pages
No related tags found
Loading
...@@ -12,3 +12,17 @@ Both of these allow for custom formatting. ...@@ -12,3 +12,17 @@ Both of these allow for custom formatting.
By using `{{time:format}}` or `{{linktime:format}}`, you can specify a custom [Moment.js](https://momentjs.com) format. By using `{{time:format}}` or `{{linktime:format}}`, you can specify a custom [Moment.js](https://momentjs.com) format.
For example, you might use `{{time:H\h mm\m ss\s}}` to get the time in the format `0h 20m 37s`. For example, you might use `{{time:H\h mm\m ss\s}}` to get the time in the format `0h 20m 37s`.
## Capturing timestamps
You can use the `Capture Timestamp` command by using the `PodNotes: Capture Timestamp` command in the command palette.
**On desktop**, it is possible to bind this command to a hotkey, which makes it faster to use while writing.
You can bind hotkeys in the `Hotkeys` tab of the Obsidian settings.
**On mobile**, you can bind the `Capture Timestamp` command to a button in the editor toolbar.
That is the toolbar which appears when you are editing text on mobile devices.
You can set this up by going to the `Mobile` tab of the Obsidian settings.
When there, you can add the `PodNotes: Capture Timestamp` command to the editor toolbar. If it hasn't already been added as an option, it is either under `More toolbar options`, or you can add it manully by entering `PodNotes: Capture Timestamp` in the `Add global command` field.
You can change the order of the buttons in the editor toolbar by dragging them up and down. The further up they are, the more to the left they will be.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment