:description: General markups and how it looks like on Shibuya Sphinx theme. Markups ======= This article is a demo of what the typography of Shibuya looks like. You will learn the syntax of reStructuredText, and to see the rendered result of each markup. Emphasis -------- Content can have inline markup like *emphasis*, **strong emphasis**, and ``inline code``. - ``*emphasis*`` is usually in an *italic* style - ``**strong emphasis**`` is usually in a **bold** style Inline code ----------- An inline code is surrounded by double ``backticks``:: An inline code is surrounded by double ``backticks`` Links ----- .. code-block:: rst :caption: links :class: demo-code In Sphinx, link is called reference. There are many ways to create a reference. For instance :pep:`8` is generated by ``:pep:`8```. In general, it is just a link_. .. _link: https://shibuya.lepture.com/ In Sphinx, link is called reference. There are many ways to create a reference. For instance :pep:`8` is generated by ``:pep:`8```. In general, it is just a link_. .. _link: https://shibuya.lepture.com/ Interpreted Text ---------------- Interpreted text is text that is meant to be related, indexed, linked, summarized, or otherwise processed. It is usually used together with a **role**: .. code-block:: rst :{role}:`interpreted text` Subscript and Superscript ~~~~~~~~~~~~~~~~~~~~~~~~~ A :sub:`subscript` and :sup:`superscript` can be written with: .. code-block:: rst :sub:`text in subscript` :sup:`text in superscript` - A subscript looks like :sub:`text in subscript` - A superscript looks like :sup:`text in superscript` Abbreviations ~~~~~~~~~~~~~ .. code-block:: rst You can also include abbreviations like :abbr:`HTML (Hyper Text Markup Language)`. You can also include abbreviations like :abbr:`HTML (Hyper Text Markup Language)`. Keyboard ~~~~~~~~ .. code-block:: rst :kbd:`Tab` means indent, :kbd:`Shift-Tab` means outdent. :kbd:`⌘+⇧+P` is power shortcuts in vscode. :kbd:`Tab` means indent, :kbd:`Shift-Tab` means outdent. :kbd:`⌘+⇧+P` is power shortcuts in vscode. Menu Selection ~~~~~~~~~~~~~~~ Use ``menuselection`` to show menus: .. code-block:: rst :menuselection:`My --> Software --> Some menu --> Some sub menu 1 --> Some sub menu 2 --> Some sub menu 3` :menuselection:`My --> Software --> Some menu --> Some sub menu 1 --> Some sub menu 2 --> Some sub menu 3` Thematic break -------------- Bellow is a ``