This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit f70d84ae93d0470586bacfe8355dcec4d2a3d6a0
Author: robin <[email protected]>
AuthorDate: Mon Dec 9 15:56:43 2024 +0800

    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 e97388b..9c016f5 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,
        }

Reply via email to