Can the localpdf rule be modfied to get the relative path of the pdf file as the _canonical_uri field value #108
Unanswered
arunnbabu81
asked this question in
Q&A
Replies: 3 comments 8 replies
-
The @sublink macro only works if the pdffile is in a subdir relative to the tiddlywiki. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
5 replies
-
There is a problem with how the browser is handling spaces in the pathname, here is a fix:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can the localpdf rule be modfied to get the relative path of the pdf file as the
_canonical_uri
field value. Does TW support it ?I am asking this because the local pdf file I embed in tiddlers using absolute path as
_canonical_uri
cannot be accessed in mobile. If relative path is used, may be I can acces such pdf files in mobile also.![image](https://user-images.githubusercontent.com/67494083/204390363-9450d63b-d0be-4fd7-9ec8-28bdc853d3dc.png)
i tried this one, but its not working.Beta Was this translation helpful? Give feedback.
All reactions