Contents Menu Expand Light mode Dark mode Auto light/dark mode
rstobj 1.2.1 documentation
Logo
rstobj 1.2.1 documentation

hyperlink¶

class rstobj.markup.hyperlink.URI(title: str, link: str)[source]¶

Example:

uri = URI(title="Hello World", link="https://www.google.com")
uri.render()

Output:

`Hello World <https://www.google.com>`_
rstobj.markup.hyperlink.URL¶

alias of rstobj.markup.hyperlink.URI

class rstobj.markup.hyperlink.Reference(title: str, label: str)[source]¶

Example:

ref = Reference(title="Hello World", label="hello-world")
ref.render()

Output:

:ref:`Hello World <hello-world>`
rstobj.markup.hyperlink.Ref¶

alias of rstobj.markup.hyperlink.Reference

Copyright © 2022, Sanhe Hu | Built with Sphinx and @pradyunsg's Furo theme. | Show Source