-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste as markdown #6842
Comments
True, this "just works" when I select "Paste without formatting" in Firefox. I did not notice this and always pasted with the normal paste which gave me a code block containing the markdown. Closing this issue. Edit: what do you mean with "insert it as rich"? |
Inserting the formatted text as you see it in the screenshot, not the plain text with visible markdown formatting symbols like
Good to hear that. It depends on what the source you copy from is adding to the clipboard. If there is both plaintext markdown as well as HTML with formatting in the clipboard we will prefer HTML, that is why it might be that you get a code block. What is the app you are copying from? |
Different sources, e.g. CodiMD, VS Code, Github, Shell |
Is your feature request related to a problem? Please describe.
I often need to paste markdown from an existing document (outside of nextcloud) into nextcloud text. Since it's not possible to toggle between text and markdown (#3570), it's hard to do so. A workaround is to rename the file to *.txt, paste the markdown and rename it back to *.md. But this breaks collaborative editing.
Describe the solution you'd like
An option to "paste as markdown" that threads the input as markdown, formats it to rich text and pastes it.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: