ricobuilds / gpt2markdown

A browser extension that exports your ChatGPT conversations to Markdown format.
https://chrome.google.com/webstore/detail/gpt2markdown/mlfimpibamecbdnofjnbkjomeieclnjl
MIT License
73 stars 20 forks source link

Issues with codeblocks #12

Open tonyknight opened 1 year ago

tonyknight commented 1 year ago

This is a great extension and works really well. Just what I was looking for.

I did notice one issue that cause my codeblocks to be malformed. The [```python] needs to have a linebreak before it render properly. I was able to fix this with find/replace. Just add a linebreak before this tag, and it looks bueno...

Thanks, Tony Screenshot 2023-03-16 at 11 03 15 Screenshot 2023-03-16 at 11 03 36

banool commented 1 year ago

Yeah I found this too, some markdown renderers need there to be a newline prior to the codeblock.