diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2022-08-29 15:58:16 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2022-08-29 15:58:16 +0200 |
commit | 3207ba78a74cf678e86805fc8a6ecdca6d3d966f (patch) | |
tree | e649b1f4c0986d21065dc37fab59daf5d3d9875a /src/lib/Codec | |
parent | 23a06eab60cf0d3a18e712023cdfb168f500379b (diff) | |
download | pesto-3207ba78a74cf678e86805fc8a6ecdca6d3d966f.tar.gz pesto-3207ba78a74cf678e86805fc8a6ecdca6d3d966f.tar.bz2 pesto-3207ba78a74cf678e86805fc8a6ecdca6d3d966f.zip |
graph: Use code markup for code examples
Diffstat (limited to 'src/lib/Codec')
-rw-r--r-- | src/lib/Codec/Pesto/Graph.lhs | 3 |
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) |