[Tex/LaTex] Indentation in tcolorbox package

tcolorbox

I'd like to have the same indentation within a tcolorbox as I have in the rest of the document.

How can I get it?

Thanks.

MWE:

\documentclass[a4paper]{book}

\usepackage{lipsum}
\usepackage[most]{tcolorbox}

\begin{document}

\chapter{Example with \texttt{tcolorbox}}
\lipsum[1-8]

\begin{tcolorbox}[breakable,enhanced]
\lipsum[9-14]
\end{tcolorbox}

\end{document}

The first block of text has the typical indentation, but that in the box doesn't.

Best Answer

Ignasi's comment works if you use

before upper={\parindent15pt}

And find the value by

\showthe\parindent

enter image description here

in the log.

Code:

\documentclass[a4paper]{book}

\usepackage{lipsum}
\usepackage[most]{tcolorbox}

\begin{document}

\chapter{Example with \texttt{tcolorbox}}
\lipsum[1-8]
%\showthe\parindent  %%,---- find \parindent
\begin{tcolorbox}[breakable,enhanced,before upper={\parindent15pt}]
\lipsum[9-14]
\end{tcolorbox}

\end{document}

enter image description here