-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
When a linebreak occurs in a link, the link is not parsed. #97
Comments
Unfortunately, thats a known limitation. The parser currently tokenizes each line individually, so tags spanning multiple lines are not supported. |
Is this something that's reasonable to be worked-around? It's conceivable that a preprocessor could ensure tags are on one line when appropriate (i.e., when not ending with a double-space) before it's passed to the tokenizer. |
That would be possible, but would also incur a runtime overhead. I would be ok with that as an opt in, the way it's done with the reference style links. |
I would also be interested in links with linebreaks because of http://www.gravizo.com/ :) Would requiring a "line continuation" indicator (like a backslash in bash) make it easier to handle? You could check the last character, read in all lines that have a continuation indicator + 1 more line, concatenate and put through normal link handling. |
Yeah, you'd have to implement something like that. The tricky part is handling that intelligently within lists, especially when you use paragraphs for list items, and nested lists. |
should work.
The text was updated successfully, but these errors were encountered: