From: Tor Kringeland <tor.kringeland@ntnu.no>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] wrapping links
Date: Mon, 4 Jul 2022 14:03:20 +0000 [thread overview]
Message-ID: <m2mtdp2cwo.fsf@ntnu.no> (raw)
In-Reply-To: <87o7y5fzr9.fsf@localhost>
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.
#+begin_example
- [[https://orgmode.org][this
link looks ugly]]
#+end_example
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
#+begin_example
_formatting continues into the
second line_
#+end_example
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).
prev parent reply other threads:[~2022-07-04 14:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 0:48 [BUG] wrapping links Tor Kringeland
2022-07-04 1:11 ` Ihor Radchenko
2022-07-04 14:03 ` Tor Kringeland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mtdp2cwo.fsf@ntnu.no \
--to=tor.kringeland@ntnu.no \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.