From dadd85031849905aa233aac2f4fc947db3952e53 Mon Sep 17 00:00:00 2001 From: Hankun Lin <50829219+Linhk1606@users.noreply.github.com> Date: Sun, 2 Feb 2020 21:35:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=BB=A3=E7=A0=81=E5=9D=97=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E8=AF=86=E5=88=ABC++=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加输入CPP代码时, 代码块右上角的语言显示为C++ --- source/less/_article.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/less/_article.less b/source/less/_article.less index bc0ac90..4f4eb55 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -498,6 +498,9 @@ &.c .code:before{ content: "C"; } + &.cpp .code:before{ + content: "C++"; + } &.java .code:before{ content: "JAVA"; }