Vscode-markdown: Provide option to disable automatic Markdown link creation 📎️

Created on 21 Feb 2019  ·  4Comments  ·  Source: yzhang-gh/vscode-markdown

What is the problem?

Whenever I copy over a block of text with links in it, the extension creates a Markdown link automatically. Caused by #20.

No way to disable this specific feature so I have to disable entire extension in meantime.

How can I reproduce it?

Highlight over a body of text with a link inside of it but that you don't want to be made into a Markdown link and paste new text.

I'm on macOS Mojave so command + V causes this instead of ctrl + V.

For example, let's say I have this block of text.

<blockquote class="embedly-card"><h4><a href="https://twitter.com/fvcproductions/status/1098361334733946883">Frances Coronel on Twitter</a></h4><p>Excited that I was just accepted and will be attending my second International Women's Day Summit through Google's @WomenTechmakers on March 2nd! 🎉⠀ ⠀ #IWD19⠀ ⠀ https://t.co/Nhfn8KIAUR</p></blockquote>
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>

and I have this text I don't want to be made into a link

not a link

it will then turn into this even though I don't actually want that

[not a link](<blockquote class="embedly-card"><h4><a href="https://twitter.com/fvcproductions/status/1098361334733946883">Frances Coronel on Twitter</a></h4><p>Excited that I was just accepted and will be attending my second International Women's Day Summit through Google's @WomenTechmakers on March 2nd! 🎉⠀ ⠀ #IWD19⠀ ⠀ https://t.co/Nhfn8KIAUR</p></blockquote>
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>
)

Is there any error message in the console?

Nope

Bug Fixed

Most helpful comment

Thanks for the report. This is a bug since obviously it should not be treated as a link.

But I am away from laptop now. A workaround it to delete the keybinding by yourself (left bottom corner>keyboard shortcuts>search for cmd+v>delete the markdown...paste one)

All 4 comments

Thanks for the report. This is a bug since obviously it should not be treated as a link.

But I am away from laptop now. A workaround it to delete the keybinding by yourself (left bottom corner>keyboard shortcuts>search for cmd+v>delete the markdown...paste one)

Should be fixed in the dev build now 😉.

when this will be released ?

Probably this weekend

Was this page helpful?
0 / 5 - 0 ratings