{"action":"created","issue":{"url":"https://api.github.com/repos/yihui/xaringan/issues/29","repository_url":"https://api.github.com/repos/yihui/xaringan","labels_url":"https://api.github.com/repos/yihui/xaringan/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/yihui/xaringan/issues/29/comments","events_url":"https://api.github.com/repos/yihui/xaringan/issues/29/events","html_url":"https://github.com/yihui/xaringan/issues/29","id":202130465,"number":29,"title":"Relative paths to dir above root?","user":{"login":"pat-s","id":8430564,"avatar_url":"https://avatars.githubusercontent.com/u/8430564?v=3","gravatar_id":"","url":"https://api.github.com/users/pat-s","html_url":"https://github.com/pat-s","followers_url":"https://api.github.com/users/pat-s/followers","following_url":"https://api.github.com/users/pat-s/following{/other_user}","gists_url":"https://api.github.com/users/pat-s/gists{/gist_id}","starred_url":"https://api.github.com/users/pat-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pat-s/subscriptions","organizations_url":"https://api.github.com/users/pat-s/orgs","repos_url":"https://api.github.com/users/pat-s/repos","events_url":"https://api.github.com/users/pat-s/events{/privacy}","received_events_url":"https://api.github.com/users/pat-s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-20T12:36:17Z","updated_at":"2017-01-20T17:32:17Z","closed_at":null,"body":"I placed my custom CSS file one directory above the .Rmd file. However, it is not recognized there.\r\n\r\n```\r\noutput:\r\n  xaringan::moon_reader:\r\n    css: \"../my-theme.css\"\r\n```\r\n\r\nThe same happens if I specify such a path for `background-image` in a layout slide\r\n\r\n```\r\n---\r\nlayout: true\r\n\r\nbackground-image: url(../img/some-image.png) \r\nbackground-size: cover\r\n---\r\n```"},"comment":{"url":"https://api.github.com/repos/yihui/xaringan/issues/comments/274130702","html_url":"https://github.com/yihui/xaringan/issues/29#issuecomment-274130702","issue_url":"https://api.github.com/repos/yihui/xaringan/issues/29","id":274130702,"user":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"created_at":"2017-01-20T17:32:17Z","updated_at":"2017-01-20T17:32:17Z","body":"This is a known limitation due to the fact that I start a local web server using the directory of the Rmd file as the root directory, and you cannot go to upper directories of a web server. I'll see if I can come up with a fix."}}
{"actor":{"display_login":"yihui"}}