title: How to apply kable_styling to all code chunks in R Markdown with HTML output?
body: <p>I'm currently using the following <code>kable_styling()</code> from kableExtra: </p>
  
  <pre><code>  kable_styling(bootstrap_options = c("striped", "hover", "condensed"))
  </code></pre>
  
  <p>I can set the table style to kable in my R Markdown document in the YAML metadata as follows:</p>
  
  <pre><code>output:
    html_document:
      df_print: kable
  </code></pre>
  
  <p>But this just outputs all my tables in plain HTML. I'm not sure how to apply my <code>kable_styling()</code> to all chunks. At the moment I have to write the following out in full in every chunk:</p>
  
  <pre><code>df %&gt;%
    kable() %&gt;%
    kable_styling(bootstrap_options = c("striped", "hover", "condensed"))
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <p>How can I apply my <code>kable_styling()</code> to all code chunks without having to write it out in all code chunks?</p>