match end code-highlight at code chunk termination as well as newline