diff --git a/docs/training_manual/spatial_databases/geometry.rst b/docs/training_manual/spatial_databases/geometry.rst index 9d627b081f6..bd0f41d78b7 100644 --- a/docs/training_manual/spatial_databases/geometry.rst +++ b/docs/training_manual/spatial_databases/geometry.rst @@ -310,7 +310,9 @@ tablespaces: CREATE TABLESPACE homespace LOCATION '/home/pg'; -When you create a database, you can then specify which tablespace to use e.g.:: +When you create a database, you can then specify which tablespace to use e.g.: + +.. code-block:: bash createdb --tablespace=homespace t4a diff --git a/docs/training_manual/spatial_databases/simple_feature_model.rst b/docs/training_manual/spatial_databases/simple_feature_model.rst index f55b7c54bfb..c5db76a439e 100644 --- a/docs/training_manual/spatial_databases/simple_feature_model.rst +++ b/docs/training_manual/spatial_databases/simple_feature_model.rst @@ -69,7 +69,7 @@ sure it has a constraint enforcing geometries to be polygons. .. admonition:: Answer :class: dropdown - :: + .. code-block: sql create table cities (id serial not null primary key, name varchar(50), diff --git a/docs/training_manual/spatial_databases/spatial_queries.rst b/docs/training_manual/spatial_databases/spatial_queries.rst index 313dd7ff6b5..36e02fb6631 100644 --- a/docs/training_manual/spatial_databases/spatial_queries.rst +++ b/docs/training_manual/spatial_databases/spatial_queries.rst @@ -96,7 +96,7 @@ Modify the cities table so its geometry column is spatially indexed. .. admonition:: Answer :class: dropdown - :: + .. code-block:: psql CREATE INDEX cities_geo_idx ON cities