[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] wrapping links

From: Tor Kringeland
Subject: Re: [BUG] wrapping links
Date: Mon, 4 Jul 2022 14:03:20 +0000

Ihor Radchenko <yantar92@gmail.com> writes:

> Could you please elaborate?
> The above link (if changed to more correct [[https://orgmode.org][this
> link looks ugly]] will be exported without the newlines and extra
> spaces.

Yes.  I don't mean in export, but in org-mode itself.  Since the second
line in the example starts with leading spaces, those spaces will be
formatted as part of the link (with a blue nuderline).  So Org correctly
recognizes multi-line links, it's just that the formatting in this case
is ugly.

- [[https://orgmode.org][this
  link looks ugly]]

The same happens with underline formatting.  With bold or italic
formatting it does not happen because no visible change to spaces is
made.  For example

  _formatting continues into the
  second line_

looks ugly as well.  Both because the leading spaces on the second line
are formatted and (arguably) because the newline at the end of the first
line is formatted as an underline as well (like a space).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]