Skip to content

Commit

Permalink
Markup tweak for track_event docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 5, 2024
1 parent 2ad51ba commit 8dc9bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugin_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,7 @@ This example plugin logs details of all events to standard error:
The function can also return an async function which will be awaited. This is useful for writing to a database.

This example logs events to a `datasette_events` table in a database called `events`. It uses the `startup()` hook to create that table if it does not exist.
This example logs events to a ``datasette_events`` table in a database called ``events``. It uses the :ref:`plugin_hook_startup` hook to create that table if it does not exist.

.. code-block:: python
Expand Down

0 comments on commit 8dc9bfa

Please sign in to comment.