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

[MRG] Update markdowncv to include icons, customizable colors with a new template #250

Merged

Conversation

ccbaumler
Copy link
Contributor

This fixes missing icons in the webaddress bar in the header by including the missing link (ha!) for fontawesome and academicons in the html file (located in markdowncv's resources directory). I have also updated the existing academicons fonts and css to version 1.9.4 and included the missing ttf file (also version 1.9.4).

This also adds yaml header options for various text colors:

  1. headcolor changes the header (h2) color for the sections of the CV
  2. addresscolor changes the webaddress bar containing the various icons and different user addresses
  3. codecolor changes the code block color which is typically the when argument (i.e. the date in the final CV)
  4. backcolor changes the background color of the document (for that dark mode!)
  5. textcolor changes the text color of the document (so you can see the text in dark mode...)
  6. namecolor changes the name for a more dynamic header

When applied to the marie curie template the yaml header looks like:

---
title: CV
name: Marie
namecolor: "#777"
surname: Curie
position: "Professor"
address: "School of Physics & Chemistry, École Normale Supérieure"
phone: +1 22 3333 4444
pronouns: she/her
www: mariecurie.com
email: "[email protected]"
twitter: mariecurie
github: mariecurie
linkedin: mariecurie
date: "`r format(Sys.time(), '%B %Y')`"
aboutme: "Marie is a Polish and naturalized-French physicist and chemist who conducts pioneering research on radioactivity."
headcolor: "#E1BE6A"
addresscolor: "#107895"
codecolor: "#777"
backcolor: "#000"
textcolor: "#FFF"
output:
  vitae::markdowncv:
    theme: ccbaumler
---

mariecurie-test

Copy link
Owner

@mitchelloharawild mitchelloharawild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks incredible, thanks! Could you please add your contribution to the NEWS as per

vitae/NEWS.md

Line 14 in 274fa85

* Added ORCID, ResearchGate, and Google Scholar icons for all CVs (@Rekyt, #209).

@mitchelloharawild mitchelloharawild merged commit 97c0750 into mitchelloharawild:master Jun 12, 2024
1 of 6 checks passed
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