Pasting links now wraps them in angle brackets
CompletedAs of the most recent beta pasting a link causes it to be wrapped in angle brackets, e.g. if I paste "https://google.com/" what ends up in my file is "<https://google.com/>".
Is there a way to turn that off?
I turned off the "Mark Markdown Links clickable" setting but that did not change the behavior.
-
The URL paste behavior is being tweaked. The next version (should be released in the next day or two) adjusts it further.
0 -
New version released that refines the behavior.
Pasting a URL with nothing selected wraps the URL in `<...>` in order to make it an actual URL. This is only done if the insertion point is preceded by whitespace/newline.
Is something is selected, then a Markdown link is created(`[text](url)`).
If an actual URL is pasted (I have only been able to do this when dragging from the address bar of a browser to the editor), then the URL title is used to create a Markdown link `[title](address)` all at once. I have not been able to do this with copy/paste with any app that I have tried thus far.
This allows you to quickly create functional links by typing and selecting link text, then pasting the URL, OR to create a "plain" link by pasting with no selected text. If you are editing a link, which should mean a non-whitespace character before the insertion, then a "normal" paste operation happens.
0 -
Pasting a URL with nothing selected wraps the URL in `<...>` in order to make it an actual URL. This is only done if the insertion point is preceded by whitespace/newline.
Is there a way to turn this off? This breaks my workflow as I can no longer copy a list of URLs that I've saved for later and paste them into new tabs (which is enabled via a Chrome extension). For copy and paste in general I find it a detriment to have the editor change anything.
0 -
After the latest update, pasting any single word (not from a URL) is also wrapped in "<...>"; but copy/paste more than one word and everything seems to be working fine.
Also, using Brett's app, I have made a popclip extension to facilitate making Wikilinks after the fact by enclosing words/phrases with double square brackets. With the latest update, however, it now encloses the word with single brackets and adds a parenthetical phrase next to it---e.g., (%5B%5Bword%5D%5D)---as though it were adding a link. In fact nvUltra now behaves in a similar way with other PopClip extensions such as "make lowercase" or "Title Case," etc.: it tries to add a link by enclosing the word with brackets and parentheses: [word](word).
0 -
Pouya - I discovered this just a few minutes before your post. A fix has been implemented and a new build should be available soon.
0 -
Thank you, Fletcher!
0 -
It's available now.
0 -
Just updated the app. It's working great now. Thanks!
0 -
Beau Gunderson - can you show an example of exactly what you're pasting so I can consider options?
0 -
Can I turn off this auto-bracket feature? I work with links, but I don't want clickable links when I'm researching. I want to be able to paste the link directly to edit it or copy it to another medium.
I was gathering links for a post and had to keep removing the angled brackets for that writing.
I want to paste the raw text of the string.
https://github.com/ggerganov/llama.cpp
The text I write is sometimes pasted verbatim in other editors (YouTube video editor description, Kit.com email contents, etc., So those other services will make the links clickable).
I would like the old behavior from MMD4 Composer or a way to disable it.
1 -
Future updates will make it optional to wrap pasted URLs in <>.
Thanks.
1 -
Yes! Thank you!!!
0
Please sign in to leave a comment.
Comments
12 comments