title: Using bookdown, can I add tag to <body>?
body: <p>In the bookdown manual, I read (<a href="https://bookdown.org/yihui/bookdown/yaml-options.html" rel="nofollow noreferrer">https://bookdown.org/yihui/bookdown/yaml-options.html</a>):</p>
  <blockquote>
  <p>The <code>includes</code> option allows you to insert arbitrary custom content before and/or after the body of the output. It has three sub-options: <code>in_header</code>, <code>before_body</code>, and <code>after_body</code></p>
  </blockquote>
  <p>This is fine; I have used these hooks before.</p>
  <p>But what if I want something like this?</p>
  <pre><code>&lt;body onload=&quot;checkEdits()&quot;&gt;
  </code></pre>
  <p>For context, I am trying to implement the ideas on this page: <a href="https://www.developerdrive.com/allowing-users-to-edit-text-content-with-html5/" rel="nofollow noreferrer">https://www.developerdrive.com/allowing-users-to-edit-text-content-with-html5/</a></p>
  <p>The idea is that students can &quot;answer&quot; some questions in their online book, and the text remains when they return. Since I'm not really sure what I'm doing, maybe there are other/better ways...  I may be implementing things poorly anyway.</p>
  <p>P.</p>