# \Verb{} in fvextra: Highlighting \Verb{} text to be able to break at the end of line

Searching through various packages documentation and this site I have found how to write inline verbatim text, that is (when neccessary) broken at the end of line. For this feature, I am using \Verb{} command provided by package fvextra. This works perfectly well, but I would like to achieve also highlighting the verbatim text, still preserving the automatic line-breaking.

With text, that doesnt require too much escaping, I am effectively using command \texttt{}, which is highlightable by command \hl{} provided by soul package.

Can the same effect be achived also for text with \Verb{} command?

MWE:

\documentclass [a4paper, 12pt, twoside, openright] {scrbook}
\usepackage{fontspec}

\usepackage [left=2.5cm, right=2cm, bottom=3cm, headheight=15.3pt] {geometry}

\usepackage[dvipsnames,x11names,svgnames,table]{xcolor}

\usepackage{fvextra}
\fvinlineset{breaklines,%
breakafter=\space ,
breakanywhere
}

\usepackage[htt]{hyphenat}

\usepackage{soul}
\usepackage{soulutf8}

\sethlcolor{Snow2}

\begin{document}

Test of \Verb{\Verb{}} command working at the end of line \Verb{text that should go on as long as it is forced to be broken at the end of line}.

Test of \Verb{\texttt{}} command working at the end of line, that is also highlighted \hl{\texttt{text that should go on as long as it is forced to be broken at the end of line}}.

There is some text to make sure that argument of command \Verb{\Verb{}} will be broken  \hl{{\Verb{Text in Verb}}, but the highlighting with soul doesnt work.
\end{document}