On Sunday, January 3, 2016 at 10:16:41 PM UTC-5, tim O wrote:

where do you find "application/pdf" or is this a plug-in?
>

It isn't listed in the dropdown, but it works as a recognized tiddler type 
if you manually enter it.  ;)

I find Tobias's macro serves the same function without all the typing.   I 
just create a tiddler named "myPDF.pdf" with <<pdf "path/to/myPDF.pdf">> as 
the tiddler body, and voilà — a beautifully embedded PDF.

I did make one slight tweak to the macro to suit my own preferences, 
however; I display the link at the top, so it's easy to click on when I'm 
using TiddlyDesktop, where I can't view PDFs in frames:

\define pdf(url)
> <div style="text-align:right;"><a href="$url$" target="_blank">open in new 
> window</a></div>
> <iframe width="100%" height="900" src="$url$" frameborder="0" 
> allowfullscreen/>
> \end
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0469c559-abf6-48ba-b74c-56354b277bab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to