Open teamshortcut opened 8 months ago
Can we please add this capability to preserve code formatting when pasting from Google Docs into Typora? This is especially helpful when authoring technical documentation which very commonly includes codes.
This will make Typora a whole lot more attractive to Technical Writers who need to author technical documentation in places like Google Doc then convert it into markdown to publish.
Thank you!
Our developer docs contain a lot of code blocks and manually adding ''' is quite tedious and error-prone, so I'd really appreciate it if this issue could be fixed.
[x] Searched existing issues to avoid creating duplicates. No relevant results searching "Google Docs"
[x] Confirmed that it can be reproduced in built-in themes without customized css.
If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.
[x] Searched http://support.typora.io/ Last reference to Google Docs is in v1.5 release notes
Describe the bug When copy-pasting from Google Docs into Typora, most formatting is really well preserved. However, any code blocks or inline code formatting is lost when pasting into Typora.
To Reproduce Steps to reproduce the behavior:
Expected behavior Pasted content should preserve the code blocks and formatting.
Screenshots / Screencasts Here is an example Google Doc, and the result of pasting it into Typora.
Here is what I would expect to happen instead. (this is just an example, I manually edited the Typora document for this)
Sample Markdown File N/A
Desktop (please complete the following information):
Typora Version 1.8.10
Additional context The amazing magical conversion between Google Docs and markdown is actually the reason that Typora was originally recommended to me, so I would love this small discrepancy to be fixed!