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

Bold font #290

Open
zqsha opened this issue Jun 8, 2022 · 4 comments
Open

Bold font #290

zqsha opened this issue Jun 8, 2022 · 4 comments

Comments

@zqsha
Copy link

zqsha commented Jun 8, 2022

Hi there,
I am creating my own CV, I was wondering whether it's possible to have bold font for a given name in publications, like this
Capture

Thank you so much.

@cderv
Copy link
Collaborator

cderv commented Jun 9, 2022

How are you incerting the publication within the Rmd ? Can you share a reproducible example of what you want to do ?

Thanks

@zqsha
Copy link
Author

zqsha commented Jun 9, 2022

Thanks for your reply. I used the following command lines to insert the publications in Rmd
Capture

Basically, I used this datadrivencv package (https://github.com/nstrayer/datadrivencv), which is also employing pagedown to creat an CV. So, we can see this example, there is an example online (https://docs.google.com/spreadsheets/d/14MQICF2F8-vf8CKPF1m4lyGKO6_thG-4aSwat1e2TWc/edit#gid=917338460). And then we can run the following command line to generate four files, including cv.rmd, dd_cv.css, render_cv.r and cv_printing_functions.r.

datadrivencv::use_datadriven_cv(
full_name = "Nick Strayer",
data_location = "https://docs.google.com/spreadsheets/d/14MQICF2F8-vf8CKPF1m4lyGKO6_thG-4aSwat1e2TWc",
pdf_location = "https://github.com/nstrayer/cv/raw/master/strayer_cv.pdf",
html_location = "nickstrayer.me/cv/",
source_location = "https://github.com/nstrayer/cv"
)

But, in example CV, we can see there is no bold name in the publications. So, I just wanted to bold my name in the publications. Does it make sense? I am not whether it works.

Thanks.

@cderv
Copy link
Collaborator

cderv commented Jun 9, 2022

I think that would be a question for datadrivencv package.

From what I can read in the documentation and a quick look at the code in the package, I believe you would need to use markdown formatting in your Sheets that contains the data for the content inserted (references section here).

Did you add markdown formatting in your data already ?

I really don't think pagedown is involved in the process here. You can add keep_md: true in your YAML under the output format (if the datadrivencv correctly supports it) to have the md file that is created before converting to HTML and then PDF and see which markdown syntax is used.

@zqsha
Copy link
Author

zqsha commented Jun 9, 2022

OK, get it. thank you so much for your reply. I really appreciate it.
I already added markdown formatting in my data, but it still did not work. I did not find YAML file in the folder. Anyway, I will try to dig into this. Thanks again.

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

No branches or pull requests

2 participants