From 3207ba78a74cf678e86805fc8a6ecdca6d3d966f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 29 Aug 2022 15:58:16 +0200 Subject: graph: Use code markup for code examples --- src/lib/Codec/Pesto/Graph.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/Codec/Pesto') diff --git a/src/lib/Codec/Pesto/Graph.lhs b/src/lib/Codec/Pesto/Graph.lhs index a238012..2f6de7f 100644 --- a/src/lib/Codec/Pesto/Graph.lhs +++ b/src/lib/Codec/Pesto/Graph.lhs @@ -118,7 +118,8 @@ workspace labeled with Result or Alternative. More on that `in the next section Annotations add a description to any of the previous instructions. They can be used to provide more information about ingredients (so “hot water” becomes -“+water (hot)”, tools (“&oven (200 °C)”) or actions (“[cook] (XXX)”). +``+water (hot)``, tools (``&oven (200 °C)``) or actions (``[cook] +(until brown)``). > f ctx@(Nothing, _, _) (_, Annotation _) = ctx > f (Just prev, s, edges) (i, Annotation _) = (Just prev, s, (i, prev):edges) -- cgit v1.2.3