summaryrefslogtreecommitdiff
path: root/src/lib/Codec/Pesto/Graph.lhs
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2020-08-25 14:23:42 +0200
committerLars-Dominik Braun <lars@6xq.net>2020-08-25 17:57:28 +0200
commitbe08e5482facaf8f3e773687df3ec5bb1243959c (patch)
treed4742be01b8872137fc0b7dbf71f87982a19a223 /src/lib/Codec/Pesto/Graph.lhs
parent295dd897297722d07ec2ce5fb82e323fe495c775 (diff)
downloadpesto-be08e5482facaf8f3e773687df3ec5bb1243959c.tar.gz
pesto-be08e5482facaf8f3e773687df3ec5bb1243959c.tar.bz2
pesto-be08e5482facaf8f3e773687df3ec5bb1243959c.zip
Fix links
pandoc does not handle internal links well for some reason, so replace them with HTML anchors and pray for the best.
Diffstat (limited to 'src/lib/Codec/Pesto/Graph.lhs')
-rw-r--r--src/lib/Codec/Pesto/Graph.lhs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/Codec/Pesto/Graph.lhs b/src/lib/Codec/Pesto/Graph.lhs
index 511adca..27dd967 100644
--- a/src/lib/Codec/Pesto/Graph.lhs
+++ b/src/lib/Codec/Pesto/Graph.lhs
@@ -86,7 +86,7 @@ appear on the shopping list.
The same happens for for tools. However they are not part of the final product,
but used in the process of making it. For instance they do not appear on the
-shopping list. `Time is a tool <time-is-a-tool_>`_.
+shopping list. `Time is a tool <#time-is-a-tool>`_.
> f ctx (i, Tool _) = addToStack ctx i
@@ -112,7 +112,7 @@ adding optional or equivalent ingredients to a recipe (i.e. margarine or butter)
References are similar to ingredients. They are used to add items from a
workspace labeled with Result or Alternative. More on that `in the next section
-<references_>`_.
+<#references>`_.
> f ctx (i, Reference _) = addToStack ctx i
@@ -189,6 +189,8 @@ Unknown directives or instructions are never connected to other nodes.
> , cmpGraph "invalid" []
> ]
+.. _references:
+
References
++++++++++
@@ -233,7 +235,7 @@ References can use amounts and units.
There are a few cases that do not make sense here (like loops or multiple
results with the same name). They are permitted at this stage, but rejected
-`later <reject-loops_>`_.
+`later <#reject-loops>`_.
> , cmpGraphRef "*foobar |foobar >foobar" [(1, 0), (2, 0)]
> , cmpGraphRef "|foobar *foobar >foobar *foobar" [(0, 1), (0, 3), (2, 1), (2, 3)]