Giter Site home page Giter Site logo

user2016docdemo's Introduction

user2016docdemo

This is a series of R Markdown document-format functions used to show how you can put together your own custom format.

All of the custom formatting functions rely on rmarkdown::html_document(). The help documentation for the functions here are extracted from the html_document() documentation.

I would be shocked if this was ever submitted to CRAN. However, you may install from github:

# install.packages("devtools")
devtools::install_github("ijlyttle/user2016docdemo")

user2016docdemo's People

Contributors

ijlyttle avatar

Stargazers

Kevin Prybol avatar mutedial avatar Hao Zhu avatar

Watchers

Karl Broman avatar Yihui Xie avatar James Cloos avatar  avatar

user2016docdemo's Issues

I think I need to use htmlDependencies

Hi @yihui,

This is way too last minute, and I can just show the custom functions that do not use css (like html_doc_0 and html_doc_1) - but could you point me in the right direction?

For example, when I use html_doc_2: https://github.com/ijlyttle/user2016docdemo/blob/master/R/html_doc_2.R

This is similar to the example shown here: http://rmarkdown.rstudio.com/developer_custom_formats.html

It works ok "interactively", but the css file (comic_sans.css) does not get copied into the _site directory when I build the site.

Looking at https://github.com/rstudio/bookdown/blob/master/R/gitbook.R, I see that you are doing something more to establish an htmlDependency, but I'm stuck has to how to proceed.

Can you point me in the right direction? It will be ok if we don't have this for the tutorial.

Thanks,

Ian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.