summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2022-08-29 15:58:16 +0200
committerLars-Dominik Braun <lars@6xq.net>2022-08-29 15:58:16 +0200
commit3207ba78a74cf678e86805fc8a6ecdca6d3d966f (patch)
treee649b1f4c0986d21065dc37fab59daf5d3d9875a /src/lib
parent23a06eab60cf0d3a18e712023cdfb168f500379b (diff)
downloadpesto-3207ba78a74cf678e86805fc8a6ecdca6d3d966f.tar.gz
pesto-3207ba78a74cf678e86805fc8a6ecdca6d3d966f.tar.bz2
pesto-3207ba78a74cf678e86805fc8a6ecdca6d3d966f.zip
graph: Use code markup for code examples
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Codec/Pesto/Graph.lhs3
1 files changed, 2 insertions, 1 deletions
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)