Escaping brackets properly in markdown