Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Furo
Furo
  • Quickstart
  • Customisation
    • Adding a logo
    • Adding an announcement banner
    • Changing buttons on page
    • Changing colors
    • Changing fonts
    • Changing footer icons
    • Changing landing page
    • Changing sidebar elements
    • Changing sidebar title
    • Hiding Contents sidebar
    • Injecting code
  • Markup Reference
    • Text Formatting
    • Admonitions
    • API documentation
    • Code Blocks
    • Hyperlinks
    • Images
    • Lists
    • Tables
    • Tabs
  • Recommendations

Development

  • Contributing
    • Workflow
    • Internals
    • Design Notes
  • Kitchen Sink
    • Admonitions
    • API documentation
    • Blocks
    • Generic items
    • Images & Figures
    • Lists
    • Really Long Page Title because we should test sidebar wrapping
    • sphinx-design stuff
    • Structural Elements
    • Structural Elements 2
    • Tables
    • Typography
  • Stability Policy
  • Changelog
  • License
Back to top
View this page
Edit this page

Hyperlinks¶

Hyperlinks are extremely useful for connecting related topics without having to depart from a clear linear exposition. Sphinx supports various formats for creating hyperlinks, with sphinx.ext.intersphinx being a great tool for cross-documentation hyperlinks.

Hyperlinks can take various forms, so here's a list of them:

- standalone hyperlink: https://python.org/
- hyperlink using references: `link <link>`__
- hyperlink with inline URL: `link <https://python.org/>`_
- hyperlink to a different page: :doc:`link <../quickstart>`
- hyperlink to a specific API element: :class:`pathlib.Path`

.. _link: https://python.org/

Hyperlinks can take various forms, so here’s a list of them:

  • standalone hyperlink: https://python.org/

  • hyperlink using references: link

  • hyperlink with inline URL: link

  • hyperlink to a different page: link

  • hyperlink to a specific API element: pathlib.Path

Hyperlinks can take various forms, so here's a list of them:

- standalone hyperlink: <https://python.org/>
- hyperlink using references: [link][markdown-external-hyperlink]
- hyperlink with inline URL: [link](https://python.org/)
- hyperlink to a different page: [link](../quickstart)
- hyperlink to a specific API element: {class}`pathlib.Path`

[markdown-external-hyperlink]: https://python.org/

Hyperlinks can take various forms, so here’s a list of them:

  • standalone hyperlink: https://python.org/

  • hyperlink using references: link

  • hyperlink with inline URL: link

  • hyperlink to a different page: link

  • hyperlink to a specific API element: pathlib.Path

Next
Images
Previous
Code Blocks
Copyright © 2020, Pradyun Gedam
Made with Sphinx and @pradyunsg's Furo