\usepackage[most]{tcolorbox}
\renewenvironment{Shaded}%
  {\begin{tcolorbox}}%
  {\end{tcolorbox}}

% Thanks https://github.com/jgm/pandoc/issues/2453#issuecomment-219233316
\newcommand{\hideFromPandoc}[1]{#1}
\hideFromPandoc{
  \let\Begin\begin
    \let\End\end
}

\definecolor{codeboxbg}{RGB}{255,255,230}
\tcbset{colback=codeboxbg}
\tcbset{boxrule=1pt}
\tcbset{size=title}
