\starttext
\title{Test with spaces}
Works very good!
\starttyping
test
    test
test
\stoptyping
test
\starttyping
  test
      test
  test
\stoptyping
test
\startitemize
\item bla
\item bla
  \starttyping
    test
        test
    test
\stoptyping
\item bla
  \starttyping
test
    test
test
  \stoptyping
\stopitemize
test

\title{Test with margin}
Works also very good!
\setuptyping[margin=3em]
\starttyping
test
    test
test
\stoptyping
test
\starttyping
  test
      test
  test
\stoptyping
test
\startitemize
\item bla
\item bla
  \starttyping
    test
        test
    test
\stoptyping
\item bla
  \starttyping
test
    test
test
  \stoptyping
\stopitemize
test

\title{Test with tabs}
Works not so good, but less important...
\setuptyping[margin=0em, tab=4]
\starttyping
test
	test
test
\stoptyping
test
\starttyping
  test
  	test
  test
\stoptyping
test

\startitemize
\item bla
\item bla
  \starttyping
    test
		test
    test
\stoptyping
\item bla
  \starttyping
test
	test
test
  \stoptyping
\stopitemize
test
\stoptext
