@@ -1524,14 +1524,14 @@ defmacro = try $ do
1525argspecArg :: PandocMonad m => LP m ArgSpec
1525argspecArg :: PandocMonad m => LP m ArgSpec
1526argspecArg = do
1526argspecArg = do
1527− Tok _ (Arg i) _ <- satisfyTok isArgTok
1527+ Tok _ (Arg i) _ <- withVerbatimMode $ satisfyTok isArgTok
1528 return $ ArgNum i
1528 return $ ArgNum i
1530argspecPattern :: PandocMonad m => LP m ArgSpec
1530argspecPattern :: PandocMonad m => LP m ArgSpec
1531−argspecPattern =
1531+argspecPattern = withVerbatimMode $
1532 Pattern <$> many1 (satisfyTok (\(Tok _ toktype' txt) ->
1532 Pattern <$> many1 (satisfyTok (\(Tok _ toktype' txt) ->
1533− (toktype' == Symbol || toktype' == Word) &&
1533+ (toktype' == Symbol || toktype' == Word) &&
1534− (txt /= "{" && txt /= "\\" && txt /= "}")))
1534+ (txt /= "{" && txt /= "\\" && txt /= "}")))
1536newcommand :: PandocMonad m => LP m (Text, Macro)
1536newcommand :: PandocMonad m => LP m (Text, Macro)
1537newcommand = do
1537newcommand = do