Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

206 lines
8.5KB

  1. <!-- Generated by pkgdown: do not edit by hand -->
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>Bulma Document Renderer — bulma_document • bulma</title>
  9. <!-- jquery -->
  10. <script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
  11. <!-- Bootstrap -->
  12. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  13. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
  14. <!-- Font Awesome icons -->
  15. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
  16. <!-- clipboard.js -->
  17. <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" crossorigin="anonymous"></script>
  18. <!-- sticky kit -->
  19. <script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
  20. <!-- pkgdown -->
  21. <link href="../pkgdown.css" rel="stylesheet">
  22. <script src="../pkgdown.js"></script>
  23. <meta property="og:title" content="Bulma Document Renderer — bulma_document" />
  24. <meta property="og:description" content="Bulma Document Renderer" />
  25. <meta name="twitter:card" content="summary" />
  26. <!-- mathjax -->
  27. <script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
  28. <!--[if lt IE 9]>
  29. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  30. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  31. <![endif]-->
  32. </head>
  33. <body>
  34. <div class="container template-reference-topic">
  35. <header>
  36. <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  37. <div class="container">
  38. <div class="navbar-header">
  39. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
  40. <span class="icon-bar"></span>
  41. <span class="icon-bar"></span>
  42. <span class="icon-bar"></span>
  43. </button>
  44. <span class="navbar-brand">
  45. <a class="navbar-link" href="../index.html">bulma</a>
  46. <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.0.0.9000</span>
  47. </span>
  48. </div>
  49. <div id="navbar" class="navbar-collapse collapse">
  50. <ul class="nav navbar-nav">
  51. <li>
  52. <a href="../index.html">
  53. <span class="fa fa-home fa-lg"></span>
  54. </a>
  55. </li>
  56. <li>
  57. <a href="../reference/index.html">Reference</a>
  58. </li>
  59. </ul>
  60. <ul class="nav navbar-nav navbar-right">
  61. </ul>
  62. </div><!--/.nav-collapse -->
  63. </div><!--/.container -->
  64. </div><!--/.navbar -->
  65. </header>
  66. <div class="row">
  67. <div class="col-md-9 contents">
  68. <div class="page-header">
  69. <h1>Bulma Document Renderer</h1>
  70. <div class="hidden name"><code>bulma_document.Rd</code></div>
  71. </div>
  72. <div class="ref-description">
  73. <p>Bulma Document Renderer</p>
  74. </div>
  75. <pre class="usage"><span class='fu'>bulma_document</span>(<span class='no'>...</span>, <span class='kw'>css</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>fig_width</span> <span class='kw'>=</span> <span class='fl'>10</span>, <span class='kw'>fig_height</span> <span class='kw'>=</span> <span class='fl'>7</span>,
  76. <span class='kw'>fig_retina</span> <span class='kw'>=</span> <span class='fl'>2</span>, <span class='kw'>keep_md</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>dev</span> <span class='kw'>=</span> <span class='st'>"png"</span>, <span class='kw'>pandoc_args</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  77. <span class='kw'>extra_dependencies</span> <span class='kw'>=</span> <span class='kw'>NULL</span>)</pre>
  78. <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
  79. <table class="ref-arguments">
  80. <colgroup><col class="name" /><col class="desc" /></colgroup>
  81. <tr>
  82. <th>...</th>
  83. <td><p>Arguments passed on to <code><a href='http://www.rdocumentation.org/packages/rmarkdown/topics/html_document_base'>rmarkdown::html_document_base</a></code></p><dl class='dl-horizontal'>
  84. <dt>smart</dt><dd><p>Produce typographically correct output, converting straight
  85. quotes to curly quotes, --- to em-dashes, -- to en-dashes, and ... to
  86. ellipses.</p></dd>
  87. <dt>theme</dt><dd><p>Visual theme ("default", "cerulean", "journal", "flatly",
  88. "readable", "spacelab", "united", "cosmo", "lumen", "paper", "sandstone",
  89. "simplex", or "yeti"). Pass <code>NULL</code> for no theme (in this case you can
  90. use the <code>css</code> parameter to add your own styles).</p></dd>
  91. <dt>self_contained</dt><dd><p>Produce a standalone HTML file with no external
  92. dependencies, using data: URIs to incorporate the contents of linked
  93. scripts, stylesheets, images, and videos. Note that even for self contained
  94. documents MathJax is still loaded externally (this is necessary because of
  95. its size).</p></dd>
  96. <dt>lib_dir</dt><dd><p>Directory to copy dependent HTML libraries (e.g. jquery,
  97. bootstrap, etc.) into. By default this will be the name of the document with
  98. <code>_files</code> appended to it.</p></dd>
  99. <dt>mathjax</dt><dd><p>Include mathjax. The "default" option uses an https URL from a
  100. MathJax CDN. The "local" option uses a local version of MathJax (which is
  101. copied into the output directory). You can pass an alternate URL or pass
  102. <code>NULL</code> to exclude MathJax entirely.</p></dd>
  103. <dt>pandoc_args</dt><dd><p>Additional command line options to pass to pandoc</p></dd>
  104. <dt>template</dt><dd><p>Pandoc template to use for rendering. Pass "default" to use
  105. the rmarkdown package default template; pass <code>NULL</code> to use pandoc's
  106. built-in template; pass a path to use a custom template that you've created.
  107. Note that if you don't use the "default" template then some features of
  108. <code>html_document</code> won't be available (see the Templates section below for
  109. more details).</p></dd>
  110. <dt>dependency_resolver</dt><dd><p>A dependency resolver</p></dd>
  111. <dt>copy_resources</dt><dd><p>Copy resources</p></dd>
  112. <dt>extra_dependencies</dt><dd><p>Extra dependencies</p></dd>
  113. <dt>bootstrap_compatible</dt><dd><p>Bootstrap compatible</p></dd>
  114. </dl></td>
  115. </tr>
  116. </table>
  117. <h2 class="hasAnchor" id="yaml-options"><a class="anchor" href="#yaml-options"></a>YAML options</h2>
  118. <p>You can pass additional options to the underlying template via the <code>bulma</code>
  119. YAML item. The following options can be specified there.</p><ul>
  120. <li><p><code>hero</code>: Classes applied to the hero containing the title</p></li>
  121. <li><p><code>hero_button</code>: Classes applied to the <code>header_links</code> buttons</p></li>
  122. <li><p><code>hero_links</code>: Links that will be displayed under title as buttons.
  123. Formatted as a list, each element having entries for <code>name</code>, <code>url</code>,
  124. and <code>icon</code>. Icons use <a href='https://fontawesome.com/icons'>Font Awesome</a>;
  125. see <code><a href='fa_icon.html'>fa_icon()</a></code> for help constructing the Font Awesome class. The
  126. full Font Awesome class name is required.</p></li>
  127. </ul><pre>---
  128. bulma:
  129. hero: ["info"]
  130. hero_button: ["is-secondary", "is-outlined"]
  131. hero_links:
  132. - name: Github
  133. url: https://github.com/
  134. icon: '`r bulma::fa_icon("github")`'
  135. - name: Twitter
  136. url: https://twitter.com
  137. icon: "fab fa-twitter"
  138. ---
  139. </pre>
  140. </div>
  141. <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
  142. <h2>Contents</h2>
  143. <ul class="nav nav-pills nav-stacked">
  144. <li><a href="#arguments">Arguments</a></li>
  145. <li><a href="#yaml-options">YAML options</a></li>
  146. </ul>
  147. </div>
  148. </div>
  149. <footer>
  150. <div class="copyright">
  151. <p>Developed by Garrick Aden-Buie.</p>
  152. </div>
  153. <div class="pkgdown">
  154. <p>Site built with <a href="http://pkgdown.r-lib.org/">pkgdown</a>.</p>
  155. </div>
  156. </footer>
  157. </div>
  158. </body>
  159. </html>