Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply metadata and presenter notes to PDF #369

Merged
merged 4 commits into from
Aug 9, 2021
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Aug 7, 2021

  • Set title and description metadata to PDF
  • Add presenter notes to PDF as annotations (if enabled --pdf-notes option)
---
title: PDF metadata and annotations
description: By using pdf-lib, an outputted PDF has better metadata.
theme: uncover
---

# PDF metadata and annotations

By using pdf-lib, an outputted PDF has better metadata.

By setting `--pdf-notes` option, presenter notes can add to PDF as annotations.

<!-- Defined presenter notes can see from the annotation at the lower left 😆 -->
marp slide.md --pdf --pdf-notes

pdfjs

Check out meta.pdf.

Now in progress of #261 and #367. Author and keywords metadata are going to be added by another PR.

ToDo

  • Add tests
  • Update README.md

* Set title and description to PDF
* Add presenter notes to PDF as annotations if enabled `--pdf-notes`
- Add usage of `--pdf-notes` option
- Update metadata section
"Try it now" section is intended for beginners. A conversion through
Chromium browser explained at "Try it now" section is advanced usage
that requires setting `CHROME_PATH` env. It should not describe in the
section of beginners because there is an extra step to work compare with
other browsers.
@yhatt yhatt merged commit 4f1e7a0 into main Aug 9, 2021
@yhatt yhatt deleted the pdf-metadata-and-annotations branch August 9, 2021 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant