pagedown icon indicating copy to clipboard operation
pagedown copied to clipboard

Bold font

Open zqsha opened this issue 2 years ago • 4 comments

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.

zqsha avatar Jun 08 '22 19:06 zqsha

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

Thanks

cderv avatar Jun 09 '22 09:06 cderv

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.

zqsha avatar Jun 09 '22 10:06 zqsha

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.

cderv avatar Jun 09 '22 11:06 cderv

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.

zqsha avatar Jun 09 '22 14:06 zqsha