Closed LaChimere closed 1 year ago
could you provide the code behind this render , this will help to solve the issue
could you provide the code behind this render , this will help to solve the issue
I'm not really familiar with React but I suppose app\src\components\markdown.tsx
might give some hints.
Fixed by https://github.com/cogentapps/chat-with-gpt/commit/216ecd5b32da3d0c1ca4746b5d826db36c66ae36 - will roll out in the next few days.
Basically, the code blocks are causing the markdown renderer (react-markdown) to treat each list item as a separate list and generate separate <ol>
elements, which resets the number. This fix makes it use the correct number.
Fixed by 216ecd5 - will roll out in the next few days.
Basically, the code blocks are causing the markdown renderer (react-markdown) to treat each list item as a separate list and generate separate
<ol>
elements, which resets the number. This fix makes it use the correct number.
Cool, thanks. This issue will be closed.
When letting it answer many code blocks, the listing number is always 1 as below: