Docs Markup and Syntax Guide¶
The ODK documentation is built using Sphinx, a static-site generator designed to create structured, semantic, and internally consistent documentation. Source documents are written in reStructuredText, a semantic, extensible markup syntax similar to Markdown.
reStructuredText Primer — Introduction to reStructuredText
Sphinx Markup — Detailed guide to Sphinx's markup concepts and reStructuredText extensions
Note
Sphinx and reStructuredText can be very flexible. For the sake of consistency and maintainability, this guide is highly opinionated about how documentation source files are organized and marked up.
Indentation¶
Indentation is meaningful in Sphinx and reStructuredText text. Usually, indenting a section means that is "belongs to" the line it is indented under. For example:
.. figure:: path-to-image.*
This is the caption of the figure. Notice that it is indented under the line defining the figure.
The rules for indentation are:
Use spaces, not tabs.
Generally, indent two spaces.
The exception to the two spaces rule is Ordered (numbered) lists, where indentation follows the content of the list item.
1. This is a list item.
This is some additional content related to Item 1. Notice that it is indented to the same column as the first line of content. In this case, that's three (3) spaces.
.
.
.
10. The tenth item in a list.
This related content will be indented four spaces.
Documentation Files¶
Sphinx document files have the .rst
extension. File names should be all lowercase and use hyphens (not underscores or spaces) as word separators.
Normally, the title of the page should be the first line of the file, underlined with equal-signs.
Title of Page
================
Page content is here...
You can alternatively wrap the title in two lines of asterisks, in some cases. (This should not be your default choice.)
*******************
Title of Page
*******************
Page content here.
The asterisks style is useful when you are combining several existing documents and don't want to change every subsection headline. Or, you can use it when you are working on a document that you have reason to think might be split into separate documents in the future.
Important
If you use the double-asterisks style, your major section headlines (<h2>) should use the equal-signs underline style. This allows major sections to be easily promoted to individual pages.
See Sections and Titles for more details.
Tables of Content¶
The toctree
directive defines a table of content. The content of a toctree
is a list of page file names, without the .rst
extension. When rendered, the toctree
becomes an unordered list of page links, including links to sections and subsections of the included pages.
.. toctree::
page-name
another-page
this-other-page
The depth of section and subsection links to display in the output can be controlled using the maxdepth
attribute. We typically use a depth of 2
, but you should use your judgment if you feel it should be more or less in any given context.
.. toctree::
:maxdepth: 2
this-page
that-page
thick-page
flat-page
See also
The Sphinx documentation includes information about a number of other
toctree
attributes.
Secondary tables of content¶
Collections of documents are sometimes given their own table of content on an individual page. (See, for example, Setting Up ODK Collect and Using ODK Collect.)
In these cases, the page containing the toctree
serves as a sort of intro page for the collection. That intro must, itself, be included in the Sidebar navigation menu.
The contents of a toctree
appear as section links in another toctree
it is included in. That is, if a toctree
in index.rst
lists collect-using
, and collect-using.rst
has a toctree
, then the contents of that second toctree
will appear in the Sidebar navigation menu, as sub-items to Using ODK Collect. (Indeed, this is precisely the case in the docs currently.)
How ODK Docs uses main and secondary tables of content¶
Major topics get a
toctree
inindex.rst
Major topics include things like:
Each major product (Collect, Central)
Large, general categories like Contributing
Major topic tables of content include both sub-collection intro pages and also individual pages that don't fit into a sub-collection.
The
caption
attribute of thetoctree
directive defines the section label in the Sidebar navigation menu.Within a large topic, documents are grouped into collections of related pages, defined by a
toctree
on a topic intro page.Intro pages (pages that contain secondary
toctree
directives) may include additional content, introducing the collection or providing contextual wayfinding. However, this is not always necessary or desirable. Use your judgment, and avoid stating things just for the sake of having some text. ("Here are the pages in this collection.")We also (very occasionally) include
toctree
directives in sub-collection pages.
Tip
If it not obvious where a new document should appear in the navigation, the best practice is to simply ask about it in the GitHub issue driving the new page.
Note
For wayfinding purposes, we sometimes create an Unordered (bullet) lists of page links rather than a toctree
directive. (For example, see collect-intro
. We do this when using a toctree
would create redundant links in the Sidebar navigation menu.
Why are the docs files not grouped into folders in the source?
We use toctree
directives as our primary way of organizing the documentation for readers. We do not organize the source rst
files into subfolders.
The reason is that if we put them into topic-related subfolders, it would affect the URI of the document. Keeping all of our document files in a single flat directory results in a flat URI structure. Every page's URI looks like docs.getodk.org/page-name
.
If we used subdirectories, then our URIs would look like docs.getodk.org/subdirectory-name/page-name
. This would mean that our URIs would change every time we moved a document from one folder to another, greatly increasing the time cost and broken-link risk of reorganizing the docs.
Sections and Titles¶
Headlines require two lines:
the text of the headline, followed by
a line filled with a single character.
Each level in a headline hierarchy uses a different character:
Title of the Page - <h1> - Equal Signs
=========================================
Major Section - <h2> - Hyphens
---------------------------------
Subsection - <h3> - Tildes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub-subsection - <h4> - Double Quotes
"""""""""""""""""""""""""""""""""""""""
Sub-sub-subsection - <h5> - Single Quotes
''''''''''''''''''''''''''''''''''''''''''''
If you need to combine several existing pages together, or want to start a single-page doc that you think might be split into individual pages later on, you can add a top-level title, demoting the other headline types by one.
************************************************
Page Title - <h1> - Asterisks above and below
************************************************
Major Section - <h2> - Equal Signs
=======================================
Subsection - <h3> - Hyphens
---------------------------------
Sub-subsection - <h4> - Tildes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub-sub-subsection - <h5> - Double Quotes
"""""""""""""""""""""""""""""""""""""""""""""
Sub-sub-sub-subsection - <h6> - Single Quotes
''''''''''''''''''''''''''''''''''''''''''''''''''
In either case, the underline of characters needs to be longer than the line of text. In the case of the asterisks, the two lines of asterisks need to be the same length.
Note
The exact order of underline characters is flexible in reStructuredText. However, this specific ordering should be used throughout the ODK documentation.
Section labels¶
In order to facilitate efficient Cross referencing, sections should be labeled. This is done on the line above the section title. The format is:
two dots
underscore
section label
lowercase
hyphen separators
a single colon
.. _section-label:
Section Title
----------------
Lorem ipsum content of section blah blah.
The section label is usually a slugified version of the section title.
Section titles must be unique throughout the entire documentation set. Therefore, if you write a common title that might appear in more than one document (Learn More or Getting Started, for example), you'll need to include additional words to make the label unique. The best way to do this is to add a meaningful work from the document title.
ODK Central
===============
ODK Central is a server application...
.. _central-getting-started:
Getting Started
-----------------
Basic Markup¶
Escaping characters¶
Markup characters can be escaped using the \
character.
*Italic.*
\*Not italic, surrounded by asterisks.\*
Italic.
*Not italic, surrounded by asterisks.*
Emphasis and Inline Literal¶
Single asterisks for *italic text* (``<em>``).
Double asterisks for **bold text** (``<strong>``).
Double back-ticks for ``inline literal text`` (``<code>``).
Single asterisks for italic text ( <em>
).
Double asterisks for bold text ( <strong>
).
Double back-ticks for inline literal text
( <code>
).
Note
The bold, italic, and inline literal
styles do not carry semantic meaning. They should not be used when a more semantically appropriate markup construct is available; for example, when writing about GUI text.
Hyperlinks¶
External hyperlinks — that is, links to resources outside the documentation — look like this:
This is a link to `example <http://example.com>`_.
This is a link to example.
You can also use "reference style" links:
This is a link to `example`_.
.. _example: http://example.com
This may help make paragraphs with a lot of links more readable. In general, the inline style is preferable. If you use the reference style, be sure to keep the link references below the paragraph where they appear.
You can also simply place an unadorned URI in the text: http://example.com
You can also simply place an unadorned URI in the text: http://example.com
Lists¶
Unordered (bullet) lists¶
Bulleted lists ( ``<ul>`` ):
- use hyphens
- are unindented at the first level
- must have a blank line before and after
- the blank line requirement means that nested list items will have a blank line before and after as well
- you may *optionally* put a blank line *between* list items
Bulleted lists ( <ul>
):
use hyphens
are unindented at the first level
must have a blank line before and after
the blank line requirement means that nested list items will have a blank line before and after as well
you may optionally put a blank line between list items
Ordered (numbered) lists¶
Numbered lists ( ``<ol>`` ):
1. Start each line with a number and period
2. Can begin on any number
3. Must have a blank line before and after
4. Can have nested sub-lists
a. nested lists are numbered separately
b. nested lists need a blank line before and after
#. Can have automatic number with the ``#`` character.
Numbered lists ( <ol>
):
Start each line with a number and period
Can begin on any number
Must have a blank line before and after
Can have nested sub-lists
nested lists are numbered separately
nested lists need a blank line before and after
Can have an automatic number with the
#
character.
Note
See Ordered and unordered lists in the Docs Style Guide for details on when to use ordered and unordered lists.
Definition Lists¶
Definition list ( ``<dl>`` )
a list with several term-definition pairs
Terms
should not be indented
Definitions
should be indented under the term
Line spacing
there should be a blank line between term-definition pairs
- Definition list (
<dl>
) a list with several term-definition pairs
- Terms
should not be indented
- Definitions
should be indented under the term
- Line spacing
there should be a blank line between term-definition pairs
Paragraph-level Markup¶
Paragraphs are separated by blank lines. Line breaks in the source code do not create line breaks in the output.
This means that you *could*, in theory,
include a lot of arbitrary line breaks
in your source document files.
These line breaks would not appear in the output.
Some people like to do this because they have been trained
to not exceed 80 column lines, and they like
to write .txt files this way.
Please do not do this.
There is **no reason** to put a limit on line length in source files for documentation, since this is prose and not code. Therefore, please do not put arbitrary line breaks in your files.
Paragraphs are separated by blank lines. Line breaks in the source code do not create line breaks in the output.
This means that you could, in theory, include a lot of arbitrary line breaks in your source document files. These line breaks would not appear in the output. Some people like to do this because they have been trained to not exceed 80 column lines, and they like to write .txt files this way. Please do not do this.
There is no reason to put a limit on line length in source files for documentation, since this is prose and not code. Therefore, please do not put arbitrary line breaks in your files.
Block Quotes¶
This is not a block quote. Block quotes are indented, and otherwise unadorned.
This is a block quote.
— Adam Michael Wood
This is not a block quote. Block quotes are indented, and otherwise unadorned.
This is a block quote. — Adam Michael Wood
Line Blocks¶
| Line blocks are useful for addresses,
| verse, and adornment-free lists.
|
| Each new line begins with a
| vertical bar ("|").
| Line breaks and initial indents
| are preserved.
Tables¶
Grid style¶
+------------+------------+-----------+
| Header 1 | Header 2 | Header 3 |
+============+============+===========+
| body row 1 | column 2 | column 3 |
+------------+------------+-----------+
| body row 2 | Cells may span columns.|
+------------+------------+-----------+
| body row 3 | Cells may | - Cells |
+------------+ span rows. | - contain |
| body row 4 | | - blocks. |
+------------+------------+-----------+
Header 1 |
Header 2 |
Header 3 |
---|---|---|
body row 1 |
column 2 |
column 3 |
body row 2 |
Cells may span columns. |
|
body row 3 |
Cells may span rows. |
|
body row 4 |
Simple style¶
===== ===== ======
Inputs Output
------------ ------
A B A or B
===== ===== ======
False False False
True False True
False True True
True True True
===== ===== ======
Inputs |
Output |
|
---|---|---|
A |
B |
A or B |
False |
False |
False |
True |
False |
True |
False |
True |
True |
True |
True |
True |
CSV Table¶
The csv-table
role is used to create a table from CSV (comma-separated values) data. CSV is a common data format generated by spreadsheet applications and commercial databases. The data may be internal (an integral part of the document) or external (a separate file).
.. csv-table:: Example Table
:header: "Treat", "Quantity", "Description"
:widths: 15, 10, 30
"Albatross", 2.99, "On a stick!"
"Crunchy Frog", 1.49, "If we took the bones out, it wouldn't be
crunchy, now would it?"
"Gannet Ripple", 1.99, "On a stick!"
Treat |
Quantity |
Description |
---|---|---|
Albatross |
2.99 |
On a stick! |
Crunchy Frog |
1.49 |
If we took the bones out, it wouldn't be crunchy, now would it? |
Gannet Ripple |
1.99 |
On a stick! |
Some of the options recognized are:
- :widths:¶
Contains a comma or space-separated list of relative column widths. The default is equal-width columns.
The special value
auto
may be used by writers to decide whether to delegate the determination of column widths to the backend.In most cases, the best result is either the default or
auto
. If you're unsure, try it both ways and see which looks better to you.
- :header:¶
Contains column titles. It must use the same CSV format as the main CSV data.
- :delim:¶
Contains a one character string used to separate fields. Default value is comma. It must be a single character or Unicode code.
The only reason to use something other than a comma is when copying large blocks of content from another source that uses a different style. If you are creating new table content yourself, use the comma.
.. csv-table:: Table using # as delimiter :header: "Name", "Grade" :widths: auto :delim: # "Peter"#"A" "Paul"#"B" .. csv-table:: Table using | as delimiter :header: "Name", "Grade" :widths: auto :delim: | "Peter"|"A" "Paul"|"B"
- :align:¶
It specifies the horizontal alignment of the table. It can be left, right or center.
.. csv-table:: Table aligned to right :header: "Name", "Grade" :align: right "Peter", "A" "Paul", "B"
¶ Name
Grade
Peter
A
Paul
B
- :file:¶
Contains the local file system path to a CSV data file.
- :url:¶
Contains an Internet URL reference to a CSV data file.
Note
There is no support for checking that the number of columns in each row is the same. However, this directive supports CSV generators that do not insert "empty" entries at the end of short rows, by automatically adding empty entries.
.. csv-table:: Table with different number of columns in each row :header: "Name", "Grade" "Peter" "Paul", "B"
¶ Name
Grade
Peter
Paul
B
Whitespace delimiters are supported only for external CSV files.
For more details, refer to this guide on CSV Tables.
Note
In almost all cases, csv-table
is the easiest and most maintainable way to insert a table into a document. It should be preferred unless there is a compelling reason to use one of the other styles.
Sphinx-specific Markup¶
Roles and directives¶
A role is an inline markup construct that wraps some text, similar to an HTML or XML tag. They look like this:
:rolename:`some text`
A directive is a block-level markup construct. They look like this:
.. directivename:: additional info or options here
:option: optional-value
:option: optional-value
Content of block here, indented.
This is no longer part of the block controlled by the directive.
Most of the Sphinx-specific and ODK-specific markup will use one or both of these constructs.
Cross referencing¶
Cross referencing is linking internally, from one place in the documentation to another. This is not done using the Hyperlinks syntax, but with one of the several roles:
:role:`target`
becomes...
<a href="target">reference title</a>
:role:`anchor text <target>`
becomes...
<a href="target">anchor text</a>
- :doc:¶
Links to documents (pages)
target is the file name, without the
.rst
extensiontitle is the first headline (
<h1>
) of the page
- :ref:¶
Links to sections
target is the Section labels
title is the section title (headline)
To recap: If you do not include an explicit target
, the text inside the role will be understood as the target, and the anchor text for the link in the output will be the title of the target.
For example:
- Link to this document:
- :doc:`contributing`
- :doc:`anchor text <contributing>`
- Link to this section:
- :ref:`cross-referencing`
- :ref:`anchor text <cross-referencing>`
- Link to a term:
- :term:`participant`
- :term:`anchor text <participant>`
Link to this document:
Link to this section:
Link to a term:
Writing about User Interface¶
Several roles are used when describing user interactions.
- :guilabel:¶
Marks up actual UI text of form labels or buttons.
Press the :guilabel:`Submit` button.
Marks up the actual UI text of a navigation menu or form select element.
Select :menuselection:`Help` from menu.
When writing about multi-level menus, use a single
:menuselection:
role, and separate menu choices with-->
.To save your file, go to :menuselection:`File --> Save` in the Main Menu.
Note
In some situations you might not be clear about which option (menuselection
or guilabel
) to use. GUIs in real life can sometimes be ambiguous. The general rule is:
Actual UI text will always receive
guilabel
role unless the text could reasonably be understood to be part of a menu.If the actual UI text could be understood as a menu,
menuselection
should be used.
These both render the same on output, so don't worry too much if you get it wrong. Just use your judgment and take your best guess.
- :kbd:¶
Marks up a sequence of literal keyboard strokes.
To stop the local server, type :kbd:`CTRL C`.
- :command:¶
Marks up a terminal command.
To build the documentation, use :command:`sphinx-build`.
- :option:¶
Marks up a terminal command option.
The :option:`-b html` option specifies the HTML builder.
Other Semantic Markup¶
- :abbr:¶
Marks up an abbreviation. If the role content contains a parenthesized explanation, it will be treated specially: it will be shown in a tool-tip in HTML.
:abbr:`ODK`
- :dfn:¶
Marks the defining instance of a term outside the glossary.
:dfn:`ODK` is a suite of open source applications that help organizations engaged in enumerator-mediated data collection.
is installed in :file:`/usr/lib/python2.{x}/site-packages`
In the built documentation, the
x
will be displayed differently to indicate that it is variable.
- :program:¶
Marks the name of an executable program.
launch the :program:`ODK Aggregate Installer`
Images and Figures¶
PNGs only¶
All still images used in ODK Docs should be PNG files. This helps us keep our image compression tooling simple, and generally results in higher-quality screenshots.
Whenever possible, you should generate your images as PNGs rather than converting to PNGs from another format. If you have to start in another format, use lossless formats whenever possible. These include BMP, GIF, and TIFF. (Avoid JPG/JPEG if possible, as this is a lossy format that does not replicate screenshots very well.)
Where to put image files¶
Image files should be put in the /src/img/
directory in the source, and they should be in a subdirectory with the same name as the document in which they appear. (That is, the filename without the .rst
extension.)
Image compression¶
Before committing images locally, run lossless compression on them using one of the following tools:
Inserting images in a document¶
To place an image in a document, use the image
directive.
.. image:: /img/{document-subdirectory}/{file}.*
:alt: Alt text. Every image should have descriptive alt text.
Note the literal asterisk (*
) at the end, in place of a file extension. Use the asterisk, and omit the file extension.
Inline images¶
To information on creating inline images, see Substitutions.
Image File Names¶
Image file names should:
be short yet descriptive
contain only lower case characters and (in Sequentially numbered images only) numbers
have no spaces
use hyphens as the separator
Good image file names:
collect-home-screen.png
build-data-export-menu.png
Bad image file names:
Collect home screen.png
collect_home_screen.png
3987948p2983768ohl84692p094.jpg-large
Sequentially numbered images¶
In the case of sequentially numbered images, the numbers should:
be zero-indexed
have two digits with leading zeroes
be separated from the rest of the file name with a hyphen
be placed at the end of the file name
Good sequentially numbered image file names:
map-widget-00
,map-widget-01
,map-widget-02
Bad sequentially numbered image file names:
1-map-widget
,2-map-widget
map-widget_00
,map-widget_01
map-widget-1
,map-widget-2
Screenshots from ODK Collect¶
If you have set up Android Debug Bridge, you can connect your Android device to your computer and take screenshots from the command line.
Connect your device via USB
Enable Developer Settings
Tap
seven (7) times
Turn on USB Debugging
Now, at the command line, from the root directory of the odk-docs
repo:
python ss.py {document-name}/{image-name}
{document-name}
is the filename (without extension) where the image will be used.{image-name}
is the name (without extension) given to the image. - follow the Image File Names guidelines
Warning
Make sure you do not overwrite an existing image.
Tip
If you have a problem running ss.py, check to make sure your Python 3 virtual environment is activated.
Tip
Be sure to obscure any personally-identifiable information from screen shots. Crop to the smallest relevant screen area. Annotate screen shots with arrows or circles to indicate relevant information.
Videos¶
Video files should be put in the /src/vid/
directory in the source, and they should be in a subdirectory with the same name as the document in which they appear. (That is, the filename without the .rst
extension.)
The purpose of on page videos is to illustrate complicated user interactions that might be difficult to describe otherwise. Longer tutorial videos should be hosted elsewhere and, if appropriate, linked to from the docs. Therefore:
The length of the videos must be less than a minute.
Videos should have no audio.
To insert a video, use the custom video
directive.
- .. video:: path/to/video¶
Specify the source path of the video and a descriptive alt content in the video directive. Alternate content is displayed when the video cannot be played. It can contain long texts as well as any other rst content.
.. video:: /vid/{document-subdirectory}/{file}.ext Alt content. Every video should have descriptive alt content.
The following optional attributes are supported:
- :autoplay:¶
Specifies whether the video should start playing as soon as it is ready. Can take boolean value: true, false, yes or no. Default is no.
It is almost never a good idea to turn
autoplay
on.
- :controls:¶
Specifies whether the video controls should be displayed. Can take boolean value: true, false, yes or no. Default is yes.
- :muted:¶
Specifies whether the audio output of the video should be muted. Can take boolean value: true, false, yes or no. Default is yes.
- :loop:¶
Specifies whether the video should start over again, every time it is finished. Can take boolean value: true, false, yes or no. Default is no.
- :preload:¶
Specifies if and how the author thinks the video should be loaded when the page loads. Can take one of the following three values: auto, metadata or none.
- :poster:¶
Contains the source address for an image to be shown while the video is downloading, or until the user hits the play button.
Note
Images to be used as poster for a video should be in the same directory as the video and should have a filename like
[same-file-name-as-video]-poster.ext
.
- :class:¶
Specifies a class for the video element.
For more details on these attributes, see this guide.
To add a video in a document with the above options, you can do the following:
.. video:: /vid/{document-subdirectory}/{file}.ext :autoplay: yes/no :controls: yes/no :muted: yes/no :loop: yes/no :class: class-name :preload: auto/metadata/none :poster:: /vid/{document-subdirectory}/{file}.ext Alt content. Every video should have descriptive alt content.
Capturing video from Android¶
Android Debug Bridge (ADB) can be used to capture a screen recording from an Android app.
$ adb shell screenrecord /sdcard/example.mp4
On pressing the enter key the video recording starts. Recording stops automatically after 3 minutes. Since videos have to be less than a minute, press CTRL C to stop the recording.
The video file is saved in your Android device to a file at /sdcard/example.mp4
file.
To pull the video locally:
$ adb pull /sdcard/example.mp4 local/path/to/save/to
Downloadable files¶
Downloadable files should be put in the /src/downloads/
directory in the source, and they should be in a subdirectory with the same name as the document in which they appear. (That is, the filename without the .rst
extension.)
To place a downloadable file in a document, use the download
role.
See this :download:`example script </downloads/contributing/example_script.py>` to understand the procedure better.
Code Samples¶
Use the code-block
directive to insert code samples. Specify the language on the same line as the directive for syntax highlighting.
.. code-block:: rst
Use the ``code-block`` directive to markup code samples.
.. code-block:: python
print("Hello ODK!")
.. code-block:: bash
$ python --version
.. code-block:: java
public class HelloWorld {
public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
}
}
Note
rst code-blocks wrap overflow lines by default. To unwrap overflow lines, use unwrap class with rst code-blocks.
.. code-block:: rst
:class: unwrap
Code-blocks for other languages don't wrap overflow lines. Instead of wrapping, you need to scroll side-ways. To wrap overflow lines with other code-blocks, use wrap class with them.
.. code-block:: python
:class: wrap
Substitutions¶
Substitutions are a useful way to define a value which is needed in many places.
Substitution definitions are indicated by an explicit markup start (".. ") followed by a vertical bar, the substitution text (which gets substituted), another vertical bar, whitespace, and the definition block.
A substitution definition block may contain inline-compatible directives such as image or replace. For more information, refer this guide.
You can define the value once like this:
.. |RST| replace:: reStructuredText
and then reuse it like this:
We use |RST| to write documentation source files.
Here, |RST|
will be replaced by reStructuredText
You can also create a reference with styled text:
.. |slack| replace:: **ODK Slack**
.. slack: https://getodk.slack.com
You can use the hyperlink reference by appending a "_" at the end of the vertical bars, for example:
You can ask about your problem in |slack|_.
You can ask about your problem in ODK Slack.
The rst_epilog
in conf.py
contains a list of global substitutions that can be used from any file. The list is given below:
You can add inline images in the document using substitutions. The following block of code substitutes arrow in the text with the image specified.
The |arrow| icon opens the jump menu.
.. |arrow| image:: /img/{document-subdirectory}/{file}.*
:alt: Alt text.