diff --git a/README.md b/README.md index c74c61e..03bbf1a 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,12 @@ The alt-text is used as the title of each image in the month-level index file. I The configuration file is JSON as follows: -``` -{ - "url_re": "^/YOUR_SERVERS_MEDIA_ATTACHMENT_PATH/(.*)$", - "title_res": [ - "^(.*?)\\.\\s*(.*)$" - ] -} + { + "url_re": "^/YOUR_SERVERS_MEDIA_ATTACHMENT_PATH/(.*)$", + "title_res": [ + "^(.*?)\\.\\s*(.*)$" + ] + } `url_re` should match the URLs of media attachments in the ActivityPub JSON. This will depend on your server - here's an example from the GLOSSATORY archive.