You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ro...@apache.org on 2024/12/09 07:57:21 UTC

(incubator-answer-plugins) branch plugin/render-markdown-codehighlight created (now 4260bfe)

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

robin0716 pushed a change to branch plugin/render-markdown-codehighlight
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git


      at 4260bfe  refactor(render): remove logging of theme selection in config methods

This branch includes the following new commits:

     new 4260bfe  refactor(render): remove logging of theme selection in config methods

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-answer-plugins) 01/01: refactor(render): remove logging of theme selection in config methods

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4260bfe925f2a8373d826390485f7cc985d16497
Author: robin <ro...@rnode.me>
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,
 	}