From 4260bfe925f2a8373d826390485f7cc985d16497 Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 9 Dec 2024 15:56:43 +0800 Subject: [PATCH 1/2] refactor(render): remove logging of theme selection in config methods --- render-markdown-codehighlight/renderMarkdownCodehighlight.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/render-markdown-codehighlight/renderMarkdownCodehighlight.go b/render-markdown-codehighlight/renderMarkdownCodehighlight.go index e97388bd..9c016f5e 100644 --- a/render-markdown-codehighlight/renderMarkdownCodehighlight.go +++ b/render-markdown-codehighlight/renderMarkdownCodehighlight.go @@ -92,12 +92,10 @@ func (r *Render) ConfigReceiver(config []byte) error { c := &RenderConfig{} _ = json.Unmarshal(config, c) r.Config = c - log.Println("Received theme:", r.Config.SelectTheme) return nil } func (r *Render) GetRenderConfig(ctx *gin.Context) (renderConfig *plugin.RenderConfig) { - log.Println("Current theme:", r.Config.SelectTheme) renderConfig = &plugin.RenderConfig{ SelectTheme: r.Config.SelectTheme, } From 41f67f603d6608050420694deabae1e4883eb8d5 Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 9 Dec 2024 15:57:42 +0800 Subject: [PATCH 2/2] build(render-markdown-codehighlight): bump version to 0.2.1 --- render-markdown-codehighlight/info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render-markdown-codehighlight/info.yaml b/render-markdown-codehighlight/info.yaml index 5e60175b..dd79aacb 100644 --- a/render-markdown-codehighlight/info.yaml +++ b/render-markdown-codehighlight/info.yaml @@ -17,6 +17,6 @@ slug_name: render_markdown_codehighlight type: render -version: 0.2.0 +version: 0.2.1 author: Chen Jiaji, Zhu Xuanlyu link: https://github.com/apache/incubator-answer-plugins/tree/main/render-markdown-codehighlight