PDF

Settings

next/_config.yml
pdf:
  enable: true
  # Default height
  height: 500px

Usage

pdf.js
{% pdf url [height] %}
[url]    : Relative path to PDF file.
[height] : Optional. Height of the PDF display element, e.g. 800px.

Examples

{% pdf https://example.com/sample.pdf %}
{% pdf /path/to/your/file.pdf 600px %}