obsidian-time-markers
v0.0.3
Published
Plugin for Obsidian (https://obsidian.md) that shows time markers from current note in sidebar
Downloads
2
Readme
obsidian-time-markers
Plugin for Obsidian (https://obsidian.md) that shows time markers from current note in sidebar
Usage
- Click
Time Markers
on left ribbon. Time Markers
tab will appear on right sidebar.- It'll list all lines in current file that contain time marker as links to those lines, sorted by time marker.
- Time marker is 24hrs time in HH:MM or H:MM format (where minutes can be also
XX
) that is surrounded by one of following:- whitespace
- line start/end
- backticks (
`
); those will also be stripped later on the list - dahses (
-
) - as in10:00-10:30
- Time markers that are on completed tasks lines will be omitted. Completed tasks are represented in Markdown as:
- [x] completed task
- [X] completed task
- [-] cancelled task
- Time markers that are on incompleted tasks will have Markdown task syntax stripped (i.e.
- [ ] some task
will becomesome task
)
Development
- clone this repo to test Obsidian vault under (
.obsidian/plugins/obsidian-time-markers
) npm i
oryarn
to install dependenciesnpm run dev
to start compilation in watch mode; to refresh plugin in Obsidian issueReload app without saving
from command palette (preferably bind it to some Hotkey)eslint main.ts view.ts
to use eslint to analyze this project- bump
package.json
andmanifest.json
npm run build
to buildnpm publish
to publish