Skip to content

Conversation

@andi4000
Copy link

if user provides PDF metadata variable e.g. author-meta, title-meta, and keywords in the YAML Metadata block of the Markdown file, it will be used as PDF Metadata.

The variable title-meta will be displayed on the PDF Reader instead of plain "resume" string.

MWE:

---
author-meta: "Donald Duck"
title-meta: "Ducky Duck Duck"
keywords:
    - Duck
    - Ducky
    - Donald
...

Donald Duck
===========

Education
---------

YAML Metadata Block is optional.

if user provides PDF metadata variable e.g.
author-meta, title-meta, and keyword
in the YAML Metadata block of the Markdown file,
it will be used as PDF Metadata.
@mszep
Copy link
Owner

mszep commented Sep 7, 2020

I love this, but I think it should be optional, so that the user doesn't have to put YAML in their markdown if they don't want to.

I think pandoc templates allow for conditionals in order to implement this, basically if there is no YAML metadata specified, the default will be the same as before.

@mszep
Copy link
Owner

mszep commented Sep 7, 2020

In fact a few lines below your proposed changes there are some if statements that show how it can be done!

noahschoem pushed a commit to noahschoem/pandoc_resume that referenced this pull request Oct 13, 2024
noahschoem added a commit to noahschoem/pandoc_resume that referenced this pull request Oct 13, 2024
* godvmxi tweaks for LinkedIn Easy Apply
(see mszep#73)

* pull in andi4000 YAML metadata tweaks
mszep#74

* fix title not being centered by default
mszep#86

---------

Co-authored-by: Noah Schoem <[email protected]>
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.

2 participants