Skip to content

Ignore wiki-link markers inside inline code#441

Open
helmutkocksmann wants to merge 1 commit into
Feel-ix-343:mainfrom
helmutkocksmann:main
Open

Ignore wiki-link markers inside inline code#441
helmutkocksmann wants to merge 1 commit into
Feel-ix-343:mainfrom
helmutkocksmann:main

Conversation

@helmutkocksmann

Copy link
Copy Markdown

Fixes #269.

/claim #269

Summary:

  • Ignore wiki-link matches whose opening or closing marker is inside an inline/fenced code span when references_in_codeblocks is disabled.
  • Preserve normal wiki-link parsing outside code spans.
  • Add regression tests for literal [[ / ]] markers in inline code.

Verification:

  • cargo fmt --check
  • cargo test vault_tests
  • cargo test

@helmutkocksmann

Copy link
Copy Markdown
Author

/claim #269

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

Successfully merging this pull request may close these issues.

Unresolved reference when using [[ and ]]

1 participant