Re: How to break up long URLs

Guenter Milde via Docutils-users <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On 2018-10-11, Gregory Elkinbard wrote:

> Hi folks,

> I have URLs which are longer then 79 characters, how do I break them up
> in docutils compliant manner. I tried “\cr” but this results in an
> error.

You can insert linebreaks in the link target::

  test_
  
  .. _test: http://exam
            ple.org
          
results in the pseudoxml output ::

  <document source="/tmp/url.rst">
      <paragraph>
          <reference name="test" refuri="http://example.org">
              test
      <target ids="test" names="test" refuri="http://example.org">

with the line break and leading whitespace removed from the URL.


Günter



_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.