Permissions now outputs a better markdown dump

This commit is contained in:
Lucas Nicodemus 2012-02-25 23:28:18 -07:00
parent 3befa63e30
commit c62bd442ec

View file

@ -200,7 +200,7 @@ namespace TShockAPI
c =>
c.Name + (c.Names.Count > 1 ? "({0})".SFormat(string.Join(" ", c.Names.ToArray(), 1, c.Names.Count - 1)) : ""));
sb.AppendLine("## <a name=\"{0}\">{0}</a> ".SFormat(name));
sb.AppendLine("## <a id=\"{0}\">{0}</a> ".SFormat(name));
sb.AppendLine("**Description:** {0} ".SFormat(desc));
sb.AppendLine("**Commands:** {0} ".SFormat(strs.Count() > 0 ? string.Join(" ", strs) : "None"));
sb.AppendLine();