fix markdown preview conflicting with public sharing preview