实现 markdown 代码解析和自动高亮

This commit is contained in:
RockYang
2023-03-23 15:11:02 +08:00
parent c700895d9c
commit a061881d4a
8 changed files with 245 additions and 31 deletions

View File

@@ -98,7 +98,6 @@ func (s *Server) ConfigSetHandle(c *gin.Context) {
}
// 保存配置文件
logger.Infof("Config: %+v", s.Config)
err = types.SaveConfig(s.Config, s.ConfigPath)
if err != nil {
c.JSON(http.StatusOK, types.BizVo{Code: types.Failed, Message: "Failed to save config file"})