From 58afd38c694e9642b5a4de5038c8bb38dcad9c7a Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Fri, 9 Aug 2024 16:57:14 +0100 Subject: [PATCH] Docs: Fix code blocks for WPORG view of the readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d12328e0..efed6dd0 100644 --- a/README.md +++ b/README.md @@ -83,12 +83,12 @@ Use the inline layout to display co-authors in a list on a single wrapping line. You can control the characters displayed before, between and after co-authors in the list using the block settings, or change the defaults using the following server-side filters: -``` +~~~ coauthors_default_before coauthors_default_between coauthors_default_between_last coauthors_default_after -``` +~~~ #### Block Layout @@ -135,11 +135,11 @@ If you want to display data about the author on their own archive, use the indiv If you make a custom block and want to use the author context, add `co-authors-plus/author` to the `usesContext` property in your block.json file. Example: -```json +~~~json { "usesContext": ["co-authors-plus/author"] } -``` +~~~ ## Block Example Data