cristianvasquez / obsidian-prettify

A markdown prettifier for obsidian
GNU General Public License v3.0
131 stars 12 forks source link

Using \| chars in cells #20

Open dariuszkowalski-com opened 3 years ago

dariuszkowalski-com commented 3 years ago

In the obsidian if I want to put a link [[ link | alias]] in a cell of a table I need to use \|chars. Now, plugin removes \ char. This is a bug

cristianvasquez commented 3 years ago

Hello,

Do you have an example where this happens?

I'm trying with

| A       | B       |   |
| ------- | ------- | - |
| [[ link | alias]] |   |

But I cannot reproduce.

dariuszkowalski-com commented 3 years ago

This image is render as: image

After formatting: image

Render as: image

cristianvasquez commented 3 years ago

I hope to look at it when I have some time.

cristianvasquez commented 3 years ago

Definitely open to a Pull Request since I'm not sure when I'd be able to get to this.

cristianvasquez commented 3 years ago

Related: https://github.com/syntax-tree/mdast-util-from-markdown/issues/10#issuecomment-752949352

jjspace commented 3 years ago

Related to #49

xaperret commented 3 years ago

and if I put | it will turn it into |