Added anchors

This commit is contained in:
Igor Ranieri 2025-09-21 21:20:35 +02:00
parent 7c4603528d
commit fe930b2fec
2 changed files with 27 additions and 0 deletions

View file

@ -81,6 +81,14 @@ labeledLink =
, (1, 35, LabeledLinkClose)
]
anchors :: Expectation
anchors =
"#myAnchor#"
`shouldLexTo` [ (1, 1, Anchor)
, (1, 2, Token "myAnchor")
, (1, 10, Anchor)
]
maths :: IO ()
maths = do
"\\[some math\\]"