I want to be able to have the PDF Viewer function for most notes, but not for all notes. Is this possible? And if not, can we make it possible?
For example, I have a note named "resumes" (as in résumés). It contains links to a markdown version, a .docx version, and a PDF version of my resume. I don't want it to render the PDF in the renderer frame. But I want other notes with links to PDFs to render. And I have a some notes that contains a lot of information where only one bit is a link to a PDF. I don't those to render the PDF viewer either.
would be to render the PDF as an image by preceding with an exclamation !, which will display a missing image icon and the link text instead of the PDF viewer (but it won't be clickable):
I am here as I am fed up with scrolling behaviour up and down a note with the PDF Viewer activated
Scrolling down the editor pane is non-linear with the viewer activated and scaling down the rendering pane scrolls the PDF in the viewer if I forget to put mouse on one side of viewer (which I am too Stoooopid to remember to do)
This seems like a nice solution, per note rather than going in and out of options) but couldnt this be implemented hidden with a button to do it?
Or, even, what I'd really like is for mouse scrolling to be turned off in PDF viewer
Or, even, a way of minimising the PDF viewer so that I can scroll up and down without getting seasick
PS this is replying to @personalizedrefriger as I used their solution but I am not asking them to implement it
EDIT: Actually, what is the opposite code, for turning the viewer on with CSS?
The details tag creates a little open/close handle to "hide" the contents when closed. If you mostly want show the PDF, use the details to hide the PDF you do not want to show. This will work in the viewer without having to modify the note. The summary tag is optional.