I'd like to have a breakable inlined box in order to emphasis some text. Any idea how to do that, if possible with tcolorbox?
Thanks!
MWE:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} % To switch to the T1 encoding
\usepackage{lmodern} % To switch to Latin Modern
\usepackage{exscale}
\usepackage[most]{tcolorbox}
\pagestyle{empty}
\begin{document}
\noindent Base text:\\
\noindent\rule{4cm}{1pt}\\
\begin{minipage}{4cm}
Hello I would like to have a breakable tcbox in order to have a nice text.
\end{minipage}
\vspace{1cm}
\noindent With box (no break ??):\\
\noindent\rule{4cm}{1pt}\\
\begin{minipage}{4cm}
Hello \tcbox[enhanced,nobeforeafter,tcbox raise base,breakable,colback=red!5!white,bottom=0pt,top=0pt,right=0pt,left=0pt,
colframe=red!75!black]{I would like to have a breakable tcbox} in order to have a nice text.
\end{minipage}
\end{document}