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

Link Url recognition error #80

Open
mmoser18 opened this issue Mar 9, 2024 · 1 comment
Open

Link Url recognition error #80

mmoser18 opened this issue Mar 9, 2024 · 1 comment
Assignees
Labels

Comments

@mmoser18
Copy link

mmoser18 commented Mar 9, 2024

When adding pictures using the format e.g.:

![alt Alt-text here](docs/screenshot.png "Screenshot of application")

Fluentmark Ediktor always marks the line as an error. The error location (at least that's what gets underlined and also appears in the full error message) is the "docs"-part in the path (or relative URL).

The full text in the problem view is:
'![alt␣Alt-text␣here](docs' at 9:55 'docs' <WORD>

What is wrong with that? Why is this an error? And how can I reference a file in a child folder of md-file's location?

@mmoser18 mmoser18 changed the title "Md: No viable alternative for input" "Md: No viable alternative for input"... Mar 9, 2024
@grosenberg grosenberg self-assigned this Mar 11, 2024
@grosenberg grosenberg added the bug label Mar 11, 2024
@grosenberg
Copy link
Owner

grosenberg commented Mar 11, 2024

Verified as a problem in the internal markdown parsing grammar; specifically, the lexing of URL variants with a subpath portion.

@grosenberg grosenberg changed the title "Md: No viable alternative for input"... Link Url recognition error Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants