Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipes are always interpreted as table markup #35

Open
davorpa opened this issue Feb 15, 2022 · 1 comment
Open

Pipes are always interpreted as table markup #35

davorpa opened this issue Feb 15, 2022 · 1 comment

Comments

@davorpa
Copy link

davorpa commented Feb 15, 2022

Since a pipe | could mean table column in markdown, it seems that engine doesn't take into account as same as GFM does. GitHub Preview only renders table if there are joint with a heading markup, but Kramdown does also in the middle of a link or list, etc...

Then it happens thinks like reported in EbookFoundation/free-programming-books#5176

The place doesn't matter if not escaped. \| EbookFoundation/free-programming-books#6723

Example code:

* [JAVA Programming Full Project by Arabic (uni_staff project) |(المشروع الختامي بالجافا كاملا بشرح عربي )](https://www.youtube.com/playlist?list=PLnzqK5HvcpwQbsAGChtjlNPLVv6kTEXRG) - محمد شوشان

Escaped:

* [JAVA Programming Full Project by Arabic (uni_staff project) \|(المشروع الختامي بالجافا كاملا بشرح عربي )](https://www.youtube.com/playlist?list=PLnzqK5HvcpwQbsAGChtjlNPLVv6kTEXRG) - محمد شوشان

Result:

image

Expected:

image

Conclusion

So it's a bit weird without have a robust linter that detects it.

There are any attribute / config to solve it for Jekyll theme?

@timdiggins
Copy link

I can reproduce most of this issue - but I have found that escaping the pipe character using \| does work as an embedded link (not as a table)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants