-
I transfer my annotations into org-mode with the template below. How would I go about URL encoding annotation_template = '''
{{#each highlight}}** {{this}} {{#each ../tags}}:{{this}}{{#if @last}}:{{/if}}{{/each}}
:PROPERTIES:
:ANNOTATION_ID: {{../id}}
:ROAM_REFS: [[{{../uri}}#:~:text={{this}}]]
:CREATED: {{date_format "%c" ../created}}
:END:
{{../text}}
{{/each}}
''' |
Beta Was this translation helpful? Give feedback.
Answered by
Ninjani
Dec 31, 2023
Replies: 1 comment
-
I added a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
daraul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added a
url_encode
helper function in PR #102, once that's merged you should be able to use{{url_encode ../uri}}