I'm using bookdown to prepare some documents. Below is the simple minimal reproducible example:
---
papersize: a6
site: bookdown::bookdown_site
output:
bookdown::pdf_document2:
keep_tex: true
---
This paragraph has inline code (really it is SHA512 sum of some object) - `2a46edf77d12d5e4f71c0ffc5fa7e7ea3ae6d96667a3d39ba8658eb5de634ee48669e6bc366509e516ba7ecda6986c52ee8cab751660a789b6d55a1c8dc8296c`.
The code block is below:
```
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
```
other style with highlightning:
```html
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
```
The source code lines are too long.
What should I add to preamble to allow code wrapping (breaking in multiple lines) like for example as shown below?
2a46edf77d12d5e4f71c0ffc5fa7e7ea3a e6d96667a3d39ba8658eb5de634ee48669e 6bc366509e516ba7ecda6986c52ee8cab75 1660a789b6d55a1c8dc8296cand
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Update: adding
header-includes:
- \usepackage{listings} \let\verbatim\undefined \let\verbatimend\undefined \lstnewenvironment{verbatim}{\lstset{breaklines,basicstyle=\ttfamily}}{}
helps to solve problem with plain code, but I found that I'm using some code fragments with highlighting.
The intermediate LaTeX is here.

\usepackage{seqsplit}in the header include and then\seqsplit{\ttfamily 2a46edf77d12d5e4f71c0ffc5fa7e7ea3ae6d96667a3d39ba8658eb5de634ee48669e6bc366509e516ba7ecda6986c52ee8cab751660a789b6d55a1c8dc8296c}in your documentlstlistingsfrom thelistingspackage that supports linebreaks, but no idea how to convince markdown to do this. You could try\usepackage{listings} \let\verbatim\undefined \let\verbatimend\undefined \lstnewenvironment{verbatim}{\lstset{breaklines,basicstyle=\ttfamily}}{}but no guarantee that this won't spectacularly break some other things...ShadedandHighlightingcommands). Could you please check new LaTeX file and suggest solution for inline and Shaded blocks?