From 35dd3df89641bc3f916db1cdd4fb6a98382c67a5 Mon Sep 17 00:00:00 2001 From: Joe Heffer <j.heffer@sheffield.ac.uk> Date: Thu, 3 Oct 2024 15:09:09 +0100 Subject: [PATCH] Add code block fences --- episodes/readmes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/episodes/readmes.md b/episodes/readmes.md index 68c5cf2..51b0fef 100644 --- a/episodes/readmes.md +++ b/episodes/readmes.md @@ -423,6 +423,16 @@ genus = "Struthio" ``` ```` +If you include the name of a programming language then the syntax will be highlighted appropriately, for example: + +````markdown +```R +genus = "Struthio" +``` +```` + +This makes your code examples easier to read. + ::: callout ## Markdown