Overview

Displays a PDF document in a viewer, page by page.

Demo

Parameters

Parameter Default Value Example Value
src <required> e.g. https://www.example.com/foo-bar.pdf
page 1 e.g. 5
zoom page-width page-width, page-fit, 50%, 75%, 100%, 125%, 150%, 200%, 300%
height 1024 e.g. 620 or 0 lets it grow to the whole document instead.

Default Code

::block-pdf{src="https://www.example.com/foo-bar.pdf"}
::