Browse Source

fix the callouts

Xℹ Ruoyao 4 years ago
parent
commit
3ac8075c62
2 changed files with 6 additions and 2 deletions
  1. 5 0
      config/_default/config.toml
  2. 1 2
      content/post/exam-ub.md

+ 5 - 0
config/_default/config.toml

@@ -48,3 +48,8 @@ menu_align_right = true
 [module]
   [[module.imports]]
     path = "academic/wowchemy"
+
+[markup]
+  [markup.goldmark]
+    [markup.goldmark.renderer]
+	  unsafe = true

+ 1 - 2
content/post/exam-ub.md

@@ -10,8 +10,7 @@ authors = ["xry111"]
 +++
 
 {{% callout note %}}
-本文中对 C 语言标准章节的引用以 [N1570][N1570] 为准。
-[N1570]:/assets/std/c1x-n1570.pdf
+本文中对 C 语言标准章节的引用以 [N1570](/assets/std/c1x-n1570.pdf) 为准。
 {{% /callout %}}
 
 # 某笔试题中的未定义行为