My issue is the following:
The footnote gets placed inside the box. However, I want it to be placed and numbered like a normal footnote. How can that be made possible?
I provided an MWE for my specific design:
\documentclass{scrbook}
\usepackage{mdframed}
\usepackage{amsthm}
\usepackage[nopar]{kantlipsum}
\newtheorem{theorem}{Definition}
\newenvironment{ltheorem}
{\begin{mdframed}[topline=false,rightline=false,bottomline=false]
\hspace*{-\parindent}%
\rlap{\smash{\colorbox{white}{\strut\hspace{\parindent}}}}%
\begin{theorem}}
{\end{theorem}\end{mdframed}}
\begin{document}
\begin{ltheorem}[\textbf{Theorem}]
\kant[1]\footnote{\kant[2]}
\end{ltheorem}
\end{document}