Unable to rename a link in a Markdown table

Steps to reproduce

Here’s a table to reproduce this:

| Column 1 | Column 2 |
| :------- | :------- |
| [[link1]] | Example |
| [[link1 | renamed ]] | Example | 

Basically, since the Markdown table uses | symbol, and Obsidian also uses | to rename a link to a note, combining the two results in an unexpected behaviour when viewing Markdown preview.

Expected result

Link should be renamed to renamed in the table code above.

Actual result

Screenshot from 2020-07-07 13-07-24

Environment

  • Operating system: elementary OS 5 (based on Ubuntu 18.04)
  • Obsidian version: 0.7.6 (preview)

You need to escape the pipe | with a \ it’s stated in the Help Vault.
Like so:
[[link1 \| renamed ]]

I also thought it was a bug, careless enough. Thank you for your solution!

1 Like

Alternatively, use the [renamed] (link) format: renamed