diff --git a/README.rst b/README.rst index 7b3d62f..9003b65 100644 --- a/README.rst +++ b/README.rst @@ -13,15 +13,15 @@ Example ------- I created these handlers to help with finding nested folders in my music -catalog program, `Catalogia_`. +catalog program, `Catalogia`. -``SELECT dirname(mp3a.path) AS parent, - dirname(mp3b.path) AS child +.. code-block:: sql + SELECT dirname(mp3a.path) AS parent, + dirname(mp3b.path) AS child FROM catalog_mp3 AS mp3a, catalog_mp3 AS mp3b WHERE dirname(mp3a.path) != dirname(mp3b.path) AND ('^' || dirname(mp3b.path)) ~ dirname(mp3a.path); -`` By the way, that's *hideously* inefficient, but it worked as a demo!