\documentclass[12pt,a4paper,notitlepage]{article}
\usepackage{graphicx}
\usepackage{array}
\linespread{1.5}
\newtheorem{question}{ {{question_theorem}} }
\usepackage{cellspace}
\setlength\cellspacetoplimit{5pt}
\setlength\cellspacebottomlimit{5pt}
{{user_preamble}}
\begin{document}
    {{ exam_header | indent(4, False) }}

    {{ question_str | indent(4, False) }}

    {{ exam_footer | indent(4, False) }}
\end{document}