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

Underscore in URLs breaks syntax highlight #1442

Open
1 of 4 tasks
fancsali opened this issue Sep 20, 2024 · 1 comment
Open
1 of 4 tasks

Underscore in URLs breaks syntax highlight #1442

fancsali opened this issue Sep 20, 2024 · 1 comment
Labels
link Related to link and path creation, modification, use [See #478] need-more-info syntax Related to syntax and highlighting

Comments

@fancsali
Copy link

Prior to submitting a new issue make sure to complete these steps:

  • Include the VimWiki settings from your .vimrc
  • Include the syntax you are using (default / Markdown / MediaWiki)
  • Provide a detailed description of the problem including steps to reproduce the issue.
    If one includes a raw URL which contains an underscore, the rest of the document will be rendered in italics
  • Include the output of :VimwikiShowVersion.
@fancsali fancsali changed the title Underscore in URLs breaks syntac highlight Underscore in URLs breaks syntax highlight Sep 20, 2024
@brennen brennen added link Related to link and path creation, modification, use [See #478] syntax Related to syntax and highlighting labels Oct 14, 2024
@brennen
Copy link
Member

brennen commented Nov 30, 2024

I wasn't able to reproduce this in Markdown or VimWiki syntax.

VimWiki:

https://example.com/bar_baz blah

[[https://example.com/bar_baz|foo]] blah

Markdown:

With an underscore bare URL: https://example.com/foo_bar

With an underscore: [foo](https://example.com/foo_bar) blah

Got a test case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
link Related to link and path creation, modification, use [See #478] need-more-info syntax Related to syntax and highlighting
Projects
None yet
Development

No branches or pull requests

2 participants