在 Sublime Text 中编辑以下文件并保存(第一行的注释很重要),按下 Cammand + B 编译:
%!TEX program = xelatex \documentclass[UTF8]{ctexart} \begin{document} 这里是中文。 \end{document}