# Center in ConTeXt

What is the equivalent of \begin{center}...\end{center} in ConTeXt? I know \raggedcenter, but that not an environment. I could define one command, but surely there is anything like that predefined.

For one line use \midaligned{Some text}, or in newer versions:

\startlinealignment [middle]
Some text
\stoplinealignment


for multiple lines use

\startalignment [middle]
\input knuth
\stopalignment