Square bracket wrapping can be used to enforce code tag rendering with span tags: input: | %(classname)[@generic *code* statement;@]% %(classname)[@[someObject someMethod]; // Objective C code statement 1@]% %(classname)[@int result = [someObject someMethod]; // Objective C code statement 2@]% %(classname)[@NSObject *newObject = [[NSObject alloc] init]; // Objective C code statement 3@]% expect: |

generic *code* statement;

[someObject someMethod]; // Objective C code statement 1

int result = [someObject someMethod]; // Objective C code statement 2

NSObject *newObject = [[NSObject alloc] init]; // Objective C code statement 3