Closed zzamboni closed 6 years ago
thanks @zzamboni! do you mind adding at least one test to show it fixes the problem for indented blocks?
Hi @chaseadamsio - I have added tests for indented code blocks mimicking the ones that were there for other blocks, and using varying amounts and types of indentation in each. go test
seems to run OK but I'm not a Go coder so I'm not sure if I missed something.
tests passed CI so that works for me.
Nice work on going above and beyond on adding tests!
+1
org-mode allows blocks to be indented, but the current goorgeous implementation recognizes them only at the start of the line. A simple change to the regex used to match blocks fixes this.