code: function styleDocument () {
    var headElement, styleElement, style;
  
    // Bail out if document has already been styled
    if (getRemarkStylesheet()) {
      return;
    }
  
    headElement = document.getElementsByTagName('head')[0];
    styleElement = document.createElement('style');
    styleElement.type = 'text/css';
  
    // Set title in order to enable lookup
    styleElement.title = 'remark';
  
    // Set document styles
    styleElement.innerHTML = resources.documentStyles;
  
    // Append highlighting styles
    for (style in highlighter.styles) {
      if (highlighter.styles.hasOwnProperty(style)) {
        styleElement.innerHTML = styleElement.innerHTML +
          highlighter.styles[style];
      }
    }
  
    // Put element first to prevent overriding user styles
    headElement.insertBefore(styleElement, headElement.firstChild);
  }
docs: Applies bundled styles to document