chrisglein / artificial-chat

2 stars 1 forks source link

Dark mode markdown formatting of code_inline is a bit jarring #73

Open chrisglein opened 1 year ago

chrisglein commented 1 year ago

Problem Description

image

Steps To Reproduce

Generate a code response that will have both code blocks and inline code references. Example:

What is the safe and modern version of printf for C++?

Expected Results

Inline code shouldn't be shown with a white background.

App version

1.0.20

chrisglein commented 1 year ago

Fix would be in AiTextResponse. Currently only rules are specified for code block. There's a code_inline type that needs a different style. May not need a new rule, actually. Probably just a customization of Markdown.style to override the base style.