-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added 'Era' suffix; Remove '.md' from titles; Enable alternative path #20
base: main
Are you sure you want to change the base?
Conversation
## Era Display Added the "era" data field to the span block. If specified, this will be appended to the date in the timeline display. For example, this span would display in the timeline as "144-43-49-00 AB". ``` <span class='ob-timelines' data-date='144-43-49-00' data-era="AB" > ``` ## Remove `.md` from autofilled titles When auto-filling the title based on the filename, remove the `.md` from the end. More in line with how other linking/embedding is displayed through obsidian. Also updated the `package.json` to the latest standard for including the obsidian API. See https://github.com/obsidianmd/obsidian-api/issues/17.
SImply enables the `path` data field, allowing you to specify an alternative path to link to.
Can you rebase / resolve conflicts? |
@tlm2021 I have recreated this PR on my fork of obsidian-timelines. Not sure if you still use this plugin but if you'd be willing to give it a look over to see if everything works the way you expect, I'd really appreciate it. |
after looking over your recent updated code, i see you are still using span and div tags, might want to have a look at #58 |
Era Display
Added the "era" data field to the span block. If specified, this will be appended to the date in the timeline display.
For example, this span would display in the timeline as "144-43-49-00 AB".
Enable alternative path
Enables the
path
field, allowing you to specify an alternative link path. EG "My Note#My Subhead" will create an internal link directly to the "My Subhead" header in #My Note. Especially useful when using page preview, as it allows you to preview more detailed information without leaving the timeline.Remove
.md
from autofilled titlesWhen auto-filling the title based on the filename, remove the
.md
from the end. More in line with how other linking/embedding is displayed through obsidian.Dependency Update
Also updated the
package.json
to the latest standard for including the obsidian API. See https://github.com/obsidianmd/obsidian-api/issues/17.