Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielskowronski/obsidian_time_markers
https://github.com/danielskowronski/obsidian_time_markers
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielskowronski/obsidian_time_markers
- Owner: danielskowronski
- Created: 2022-09-11T21:26:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-12T03:42:16.000Z (over 2 years ago)
- Last Synced: 2024-11-16T18:11:52.596Z (about 2 months ago)
- Language: TypeScript
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# obsidian-time-markers
Plugin for Obsidian (https://obsidian.md) that shows time markers from current note in sidebar
## Usage
1. Click `Time Markers` on left ribbon.
2. `Time Markers` tab will appear on right sidebar.
3. It'll list all lines in current file that contain time marker as links to those lines, sorted by time marker.
1. ***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:
1. whitespace
2. line start/end
3. backticks (`` ` ``); those will also be stripped later on the list
4. dahses (`-`) - as in `10:00-10:30`
1. 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`
1. Time markers that are on incompleted tasks will have Markdown task syntax stripped (i.e. `- [ ] some task` will become `some task`)## Development
- clone this repo to test Obsidian vault under (`.obsidian/plugins/obsidian-time-markers`)
- `npm i` or `yarn` to install dependencies
- `npm run dev` to start compilation in watch mode; to refresh plugin in Obsidian issue `Reload 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` and `manifest.json`
- `npm run build` to build
- `npm publish` to publish