Generate markdown for generic methods