The following code shows a polynomial long division:
\documentclass{article}
\usepackage{polynom}
\begin{document}
\polylongdiv[style=A]{6x^3-2x^2+x+3}{x^2-x+1}
\end{document}
The output of the above code is (without the red highlight):
I have studied the package documentation for polynom without finding a way to de-ascii-artify the highlighted part. My desired output would be something along the lines of:
How can I modify the behaviour of polynom to produce the desired output?