博客主题新功能:repl 代码集成batkiz2020-09-06由于 hugo 自 v0.60 之后默认忽略 raw html,所以为了便捷地使用 repl 的 embed code share 功能,我就写了个 shortcode。效果测试 #使用方法 #{{< repl "batkiz/hello-repl" >}} /* batkiz -> username(不带 `@`) hello-repl -> repl name */ 具体的代码则可以去我主题的代码仓库瞅一眼(毕竟非常简单)