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

Webfonts work offline #3

Merged
merged 1 commit into from
Feb 12, 2014
Merged

Webfonts work offline #3

merged 1 commit into from
Feb 12, 2014

Conversation

seankross
Copy link
Contributor

Adding the stylesheet makes the font useable, however I had to edit index.html and manually add style="font-family: news_cycleregular" which you can see on lines 43 and 44.

@ramnathv
Copy link
Contributor

Thanks @seankross . Instead of modifying the index.html, you can just add this snippet somewhere in the Rmd file.

<style>
body {
  font-family: news_cycleregular !important;
}
</style>

Thanks for your efforts. If you are able to create something that would automate the task of downloading open source fonts and converting them to stylesheets, that would be awesome. I have ideas on how to do it, so if you want to discuss, I would be happy to share them with you.

ramnathv added a commit that referenced this pull request Feb 12, 2014
@ramnathv ramnathv merged commit 360256c into slidify:gh-pages Feb 12, 2014
@seankross
Copy link
Contributor Author

I would really like to work on something like this. Please let me know any ideas you have!

@ramnathv
Copy link
Contributor

Let me start a separate issue to track this.

@ramnathv
Copy link
Contributor

I have outlined my ideas here #4. Let us continue our discussion there.

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

Successfully merging this pull request may close these issues.

2 participants