rstudio / pagedown

Paginate the HTML Output of R Markdown with CSS for Print
https://pagedown.rbind.io
Other
895 stars 127 forks source link

Multiple positions, same company? #204

Open cnordenlow opened 3 years ago

cnordenlow commented 3 years ago

Hi, and thanks for this great package.

For the Resume template. I would like to put multiple positions under the same company, instead of listing the same company for every position. Is this possible? If I need to change some of the code for this, where would be the right place to start?

I guess the timeframe can still be the same still connected to the titles. So the change would be to have the company first as the ### (with location to the right), followed by titles with bold. I think linkedin has it give or take like that.

Company A, Location

Title A

Title B

Company B Location

Title A

Thanks for advice!

RLesur commented 3 years ago

Hi,

I'm sorry for the very long delay.

I would like to put multiple positions under the same company, instead of listing the same company for every position. Is this possible?

IMO, this is possible. Not straightforward but feasible.

If I need to change some of the code for this, where would be the right place to start?

I think you should use a modified version of the resume pandoc template. More precisely, the first thing to do is to modify the JavaScript code located here: https://github.com/rstudio/pagedown/blob/ef0a6f7c1f7a5077b8239aca5d47fbe84c4062e5/inst/resources/html/resume.html#L61-L137 If you are already familiar with JavaScript, it will be ok.

Then, I think you would also have to adjust the CSS of the resume template (https://github.com/rstudio/pagedown/blob/master/inst/resources/css/resume.css).