Comments (9)
Hi Priyam,
-
The highlights are being imported in duplicates. -> I just tried and it seems to work fine. How is it duplicating?
-
I don't know if this by design. An annotation is followed by the highlighted passage rather than the highlighted passage being followed by the annotation as in hypothes.is. -> Check out the nunjucks template if you want to change the way the highlights/annotations are created. Having said that, in Hypothesis annotations are stored under highlights.
-
All highlights are not being imported. My highlights from the last 7 days has not be imported. -> Seems to work for me. Cna you check if you are getting error in the developer console?
Cheers
from obsidian-hypothesis-plugin.
from obsidian-hypothesis-plugin.
I can only suggest that you delete all the generated files and reset the sync. Copy the nunjucks template below. Then sync everything again.
Please make sure you got the latest version as well.
Below is the default nunjucks template that I am using personally. You can copy and paste it into your configuration.
{% if is_new_article %}# {{title}}
## Metadata
{% if author %}- Author: [{{author}}]({{authorUrl}}){% endif %}
- Title: {{title}}
{% if url %}- Reference: {{url}}{% endif %}
- Category: #article{% endif %}
{% if is_new_article -%}## Highlights{%- endif %}
{% for highlight in highlights -%}- {{highlight.text}} — [Updated on {{highlight.updated}}]({{highlight.incontext}})
{% if highlight.tags | length %} - Tags: {% for tag in highlight.tags -%}#{{tag| replace(" ", "-")}} {%- endfor %}{%- endif %}
{% if highlight.annotation %} - Annotation: {{highlight.annotation}}{%- endif -%}{%- endfor -%}
from obsidian-hypothesis-plugin.
Hi @weichenw , Thanks so much for making this plugin!
Unfortunately, I am seeing the same behavior that @bpriyum described. I tried deleting and syncing multiple times, as well as manipulating the template.
I use groups in Hypothesis, maybe that is leading to duplication somehow?
from obsidian-hypothesis-plugin.
Hi, there is a possibility that an error occurs before all the sync finishes. Could you please check if there are errors in the console?
https://forum.obsidian.md/t/how-to-access-the-console/16703
I just tried groups. It seems to work fine.
from obsidian-hypothesis-plugin.
No errors in the console. To be clear, I am seeing both the duplication error and the not-pulling-recent error.
I wonder if it is on Hypothesis side...
from obsidian-hypothesis-plugin.
No errors in the console. To be clear, I am seeing both the duplication error and the not-pulling-recent error.
I wonder if it is on Hypothesis side...
Unfortunately, I am unable to replicate this issue. I have tried several times it works for me.
Just to confirm that you are on the latest version, reset the history and delete all the files before resyncing everything again.
from obsidian-hypothesis-plugin.
@mschrader15 Thanks, mate. I have merged and bumped the version
from obsidian-hypothesis-plugin.
@weichenw no problem!
from obsidian-hypothesis-plugin.
Related Issues (20)
- hope to create a new plugin for raindrop
- Sync seems to be broken in mobile version of Obsidian HOT 3
- [Feature Request] Template should allow us to customize the frontmatter HOT 8
- sync conflict using Obsidian Git plugsin in combination with Obsidian Hypothes.is plugin HOT 2
- Can i get all content of article with anotation and highlight? HOT 1
- [Feature request] Settings option to customise file naming pattern
- [Feature request] Ability to mirror highlights, in the same order as on the page HOT 1
- [Feature Request] split annotation into commment and quote HOT 1
- Shows same highlights or notes multiple times HOT 1
- Change in hypothes annotation note does not re-sync HOT 7
- Strange whitespaces in my highlight
- Couldn't get it to sync HOT 7
- only sync with the first highlight in a webpage HOT 3
- Random public annotations & page notes appear after sync
- Annotations by other members of a private group
- no proper support for reply highlights HOT 1
- Can only sync each web site one time HOT 1
- Doesn't sync after article deletion & restoration HOT 1
- Can't set folder location HOT 1
- Broken url in frontmatter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-hypothesis-plugin.