35 lines
		
	
	
		
			892 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			892 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| up:: [[obsidian plugins]]
 | |
| #s/obsidian #s/PKM 
 | |
| 
 | |
| 
 | |
| Plugin pour importer les annotations de [[hypothes is]] dans obsidian
 | |
| 
 | |
| # Importation des annotations
 | |
| 
 | |
| L'importation des annotations 
 | |
| ## Template
 | |
| ```
 | |
| {% if is_new_article %}{% if author %}author:: [[{{author}}]]
 | |
| url:: [{{author}}]({{url}})
 | |
| {% else %}
 | |
| url:: {{url}}
 | |
| {% endif %}{% endif %}
 | |
| 
 | |
| {% if is_new_article %}
 | |
| ## Annotations
 | |
| {% for highlight in highlights %}
 | |
| > [!zotero] [{{highlight.updated}}]({{highlight.incontext}}){% for line in highlight.text.split("\n") %}
 | |
| > {{line}}{% endfor %}{% if highlight.annotation %}
 | |
| > > [!note] Annotations{% for line in highlight.annotation.split("\n") %}
 | |
| > > {{line}}{% endfor %}
 | |
| {% endif %}{% endfor %}{% endif %}
 | |
| 
 | |
| {% if is_new_article %}
 | |
| ## Notes de pages
 | |
| {% for highlight in page_notes %}
 | |
| > [!note] [{{highlight.updated}}]({{highlight.incontext}})
 | |
| > {{highlight.annotation}}
 | |
| {% endfor %}
 | |
| {% endif %}
 | |
| ```
 |