As you can see in this example site, hugo clarity theme has native code folding, code copying and line number. But it won’t work with rmarkdown code blocks which looks like inline code.
Code blocks in that example site are enclosed like:
```html
## code goes here ##
</html>
```
while rmarkdown code blocks are enclosed like:
<pre class=“r”><code>
## code goes here ##
</code>
Is there a way to enable those features with (pre) instead of code fences?