1 /** 2 Macros: 3 LIST=$(UL $(XLIST $1)$(XLIST $+)) 4 XLIST=$(LI $1)$(XLIST $+) 5 6 TROW=$(TR $(XTROW $1)$(XTROW $+)) 7 XTROW=$(TD $1)$(XTROW $+) 8 9 L=$0 10 11 BT=` 12 */ 13 module testbed; 14 15 /** Predicate `a < b` should be escaped. 16 17 $(LIST 18 foo, 19 bar, 20 $(L item, with, comma or (lol)), 21 `code with commas, inline`, 22 ) 23 24 $(TABLE 25 $(TROW Some header, Some other header, Third header) 26 $(TROW Some row, $(Long_data_here), $(fooa)) 27 ) 28 29 30 31 $(TABLE 32 $(TROW Some header, Some other header, Third header) 33 $(TROW Some row that 34 is really long, Some other row, More info that 35 is really long) 36 ) 37 38 Description. We also get `int syntax_highlighting = 1;` inline now! 39 40 Will `foo!"a,b)"` work now? 41 42 --- 43 void foo() { 44 int a = a < b; 45 <b>wtf</b><b> 46 string s = "<b>bold</b>"; 47 string s2 = `should still work`; 48 auto a = foo!"a,b)"; 49 } 50 --- 51 52 $(LI 53 --- 54 [0,length) 55 --- 56 ) 57 58 Macros: 59 fooa=amazing 60 61 Long_data_here=I don't know! 62 63 */ 64 void foo() {} 65 66 /// XML `<foo />` should be escaped and nicely displayed. 67 /// But `this should be fine' 68 /// Even with `this still inline` 69 /** $(B abc ` def) ghi ` jkl 70 71 $(LI An interval is written as `"[0,length)"`. The compiler will say `Undefined indentifier: expected with when finding asshole.`) 72 73 Backtick ehre $(BT) 74 75 Macros: 76 Long_data_here=ass 77 */ 78 void bar() {} 79