doc middleware usage, highlight syntax