fix of nested brew calls, CJK chars and add rmarkdown style