Online css for rmarkdown?

Simple question: is it possible to use an online css file (e.g. on github) for rmarkdown? I find that neither adding a URL in the header nor adding something in the body along the lines of

<style type="text/css">
@import url("URL");

Seems to do anything

Why not use the css argument often included with the format function ?

        css: url of your css

did you try that already ?

Hi, thanks for answering. I tried that and couldn't get it to work... however, I have now found that it does work but only when the .css file is not on github. A bit of digging and it seems that there is something to do with the way github stores files with jekyll that affects how the links work. Or something.

Thanks again.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.