flatten package:mainland-pretty

The document flatten d will flatten d to one line.