You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
{ref}link <target> syntax doesn't work if broken with a newline #169
This is annoying because I typically text wrap my Markdown in my editor to 80 characters, and this happens automatically on spaces. Virtually every other Markdown syntax works when broken along newlines, so this is presumably just an oversight.
Reacted by 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
I've filed #448 (now closed) when I failed to find this issue. Just wanted to let you know that this is still broken. And yes, I also line-wrap text files for similar reasons. The use-case is pretty valid.
Activity
chrisjsewell commentedon Jun 17, 2020
Hey @asmeurer, well this is probably just more general to all roles: https://github.com/executablebooks/markdown-it-py/blob/c5be8d9af46f8e9484cacead123acfae25d89086/markdown_it/extensions/myst_role/index.py#L8
At least for now, what about just using?
asmeurer commentedon Jun 26, 2020
I think I was trying to use a more specific autodoc thing like
funcinstead ofrefso I had to use the{ref}syntax.chrisjsewell commentedon Jun 26, 2020
[Name](target)should still work though if the target is afunc, since it uses the any role logic to look through all referencable objectsasmeurer commentedon Jun 26, 2020
I guess it does work for the example in my docs. In general though, you sometimes have to specify the type if there is an ambiguity with
any.chrisjsewell commentedon Jun 26, 2020
True
webknjaz commentedon Nov 30, 2021
I've filed #448 (now closed) when I failed to find this issue. Just wanted to let you know that this is still broken. And yes, I also line-wrap text files for similar reasons. The use-case is pretty valid.
chrisjsewell commentedon Dec 2, 2021
Heya, will be fixed with executablebooks/mdit-py-plugins#32
⬆️ UPGRADE: markdown-it-py v2, mdit-py-plugins v0.3