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

Wikilinks inside code blocks get replaced by code-fenced error message #92

Open
macedotavares opened this issue Dec 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@macedotavares
Copy link

Describe the bug
When I write

`[[wikilink]]`

inside a note, that gets rendered as

<span title='There is no note that matches this link.' class='invalid-link'> <span class='invalid-link-brackets'>[[</span> wikilink <span class='invalid-link-brackets'>]]</span></span>

I have tried escaping with multiple combinations of backslashes and backticks, but without success. I can't find a way to render a simple [[wikilink]] in code (which is making it difficult to document my workflow).

To reproduce
Steps to reproduce the behavior:

  1. Inside a note, type [[wikilink]] surrounded by backticks (I don't know how to escape them in here too 🥴)
  2. Render the note in Jekyll

Expected behavior
The code-fenced wikilink should be rendered as

[[wikilink]]

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Operating system: macOS 12.1
  • Ruby version: Ruby 3.0.3
@macedotavares macedotavares added the bug Something isn't working label Dec 28, 2021
@whoibrar
Copy link

I have faced the same Issue. I deal with it the following way.

<a class="internal-link" href="{{page.peramlink}}">{{page.title}}</a>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants