Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion render-markdown-codehighlight/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions render-markdown-codehighlight/renderMarkdownCodehighlight.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
Loading