Renamed MD to RST, and reimplemented as long doc.