Skip to content

Commit

Permalink
escaping backticks properly
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontin committed Sep 12, 2024
1 parent a002924 commit 86aef46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/CHEATSHEET.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ txSkelTemplate

* No redeemer: `emptyTxSkelRedeemer`
* With a given redeemer: `someTxSkelRedeemer myRedeemer`
* Attach a reference input (with a reference script): `redeemer \`withReferenceInput\` txOutRef`
* Attach a reference input (with a reference script): ``redeemer `withReferenceInput` txOutRef``

```haskell
txSkelTemplate
Expand Down Expand Up @@ -245,7 +245,7 @@ foo txOutRef = do

* No redeemer: `(Script.Versioned fooPolicy Script.PlutusV3, emptyTxSkelRedeemer, "fooName", 3)`
* With redeemer: `(Script.Versioned barPolicy Script.PlutusV3, someTxSkelRedeemer typedRedeemer, "barName", -3)`
* With a redeemer and explicit reference script: `(Script.Versioned barPolicy Script.PlutusV3, someTxSkelRedeemer typedRedeemer \`withReferenceInput\`, "barName", 12)`
* With a redeemer and explicit reference script: ``(Script.Versioned barPolicy Script.PlutusV3, someTxSkelRedeemer typedRedeemer `withReferenceInput` oRef, "barName", 12)``
* With a redeemer and implicit reference script: `(Script.Versioned barPolicy Script.PlutusV3, someTxSkelRedeemer typedRedeemer, "fooName", -6)`, and turn on option `txOptAutoReferenceScript`

```haskell
Expand Down

0 comments on commit 86aef46

Please sign in to comment.