I have tried some solutions proposed by others (URLs in bibliography: LaTeX not breaking line as expected), but in vain. The long URL still goes into the margin. How can I break a very long URL in the reference? Thanks!
% !TEX program = pdflatex
% !BIB program = biber
\documentclass{report}
\usepackage[
backend = biber,
style = apa,
doi = false,
url = true,
isbn = false]{biblatex}
\addbibresource{Thesis.bib}
\begin{document}
Cite this article: \parencite{OFFICEFORNATIONALSTATISTICS_MiddleSuperOutput_2018}.
\printbibliography[title = References]
\end{document}
Thesis.bib
@online{OFFICEFORNATIONALSTATISTICS_MiddleSuperOutput_2018,
title = {Middle {{Super Output Area Population Estimates}} (Supporting {{Information}})},
author = {{Office for National Statistics}},
date = {2018},
url = {https://www.ons.gov.uk/peoplepopulationandcommunity/populationandmigration/populationestimates/datasets/middlesuperoutputareamidyearpopulationestimates}
}


xurlpackage? – Mico Nov 21 '21 at 10:18