pub fn write_tt(tt: &MdTree<'_>, buf: &mut Buffer, indent: usize) -> Result<()>