When I paste code into code block, the url in code will be converted to markdown format

Steps to reproduce

Write code in PyCharm or any other code editor. and there must be a string assign like this:

url = ‘https://www.google.com/aa/bb

then, copy this code.

Back to Obsidian, input a code block(three backtick). and paste the url into the code block.

```python
I will paste code here
```

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

url = 'https://www.google.com/aa/bb'

Actual result

url = '[https://www.google.com/aa/bb](https://www.google.com/aa/bb)'

Environment

mac book pro M1.

The latest version of Obsidian.


Additional information

You should use paste as text.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.