itemalign=flushright,
inbetween={\blank[4pt]}]
\def\bibitem{\item}
</texcode>
\section{References}
\startbibliography
\itembibitem[ref1] This is my first reference \itembibitem[ref2] This is the second reference
\stopbibliography
</texcode>
and use <code>\cite[ref1]</code> etc to refer to bibliography items.