diff --git a/docs/builtins/Database/select.md b/docs/builtins/Database/select.md index 03d89565b..378e19297 100644 --- a/docs/builtins/Database/select.md +++ b/docs/builtins/Database/select.md @@ -24,7 +24,7 @@ Use the following arguments to specify the table, columns, and `where` clause fo | --- | --- | --- | | `table` | `table: <{row}>` | Specifies the table from which to select rows matching the where clause. | | `columns` | [string] | Specifies the list of columns to select from the table matching the where clause (optional). | -| `where` | row:object:<{row}> | Specifies the `where` clause to apply to each row to determine inclusion. | +| `where` | `row:object:<{row}>` | Specifies the `where` clause to apply to each row to determine inclusion. | ### Return value diff --git a/docs/builtins/Database/with-default-read.md b/docs/builtins/Database/with-default-read.md index 4a789fbb7..70f31ae5f 100644 --- a/docs/builtins/Database/with-default-read.md +++ b/docs/builtins/Database/with-default-read.md @@ -20,7 +20,7 @@ Use the following arguments to specify the table, key, defaults, bindings, and b | `table` | `table: <{row}>` | Specifies the table from which to read the row. | | `key` | string | Specifies the key for which to read the row. | | `default` | object | Specifies a default object containing values for missing columns. | -| `bindings` | binding:<{row}> | Specifies the bindings for columns to be bound. | +| `bindings` | `binding:<{row}> `| Specifies the bindings for columns to be bound. | | `body` | any | Specifies the subsequent body statements to be executed. | ### Return value diff --git a/docs/builtins/General/acquire-module-admin.md b/docs/builtins/General/acquire-module-admin.md index 254e84eca..ba1eb51cb 100644 --- a/docs/builtins/General/acquire-module-admin.md +++ b/docs/builtins/General/acquire-module-admin.md @@ -29,7 +29,7 @@ It will attempt to acquire the governance cap and if successful, it will grant m ### Return values -Module admin acquisition will either fail, or return "Module admin for module acquired" +Module admin acquisition will either fail, or return "Module admin for module ` `acquired" ### Examples diff --git a/docs/builtins/General/where.md b/docs/builtins/General/where.md index 5a14db89a..bf72283df 100644 --- a/docs/builtins/General/where.md +++ b/docs/builtins/General/where.md @@ -20,7 +20,7 @@ Use the following arguments to specify the field, application function, and valu | --- | --- | --- | | `field` | string | Specifies the field in the value to be evaluated. | | `app` | function | Specifies the application function to be applied to the field. | -| `value` | object:<{row}> | Specifies the value containing the field to be evaluated. | +| `value` | `object:<{row}>` | Specifies the value containing the field to be evaluated. | ### Return value diff --git a/docs/builtins/Operators/leq.md b/docs/builtins/Operators/leq.md index b9fe190fd..6faad2e65 100644 --- a/docs/builtins/Operators/leq.md +++ b/docs/builtins/Operators/leq.md @@ -1,4 +1,4 @@ -## less-than-equal (<=) +## less-than-equal (`<=`) Use `<=` to return true if the first `oper1` argument is less than or equal to the second `oper2` argument. diff --git a/docs/builtins/Operators/lt.md b/docs/builtins/Operators/lt.md index 251a0ca52..0ccf857ca 100644 --- a/docs/builtins/Operators/lt.md +++ b/docs/builtins/Operators/lt.md @@ -1,4 +1,4 @@ -## less-than (<) +## less-than (`<`) Use `<` to return true if the first `oper1` argument is less than the second `oper2` argument. diff --git a/docs/builtins/Repl/env-sigs.md b/docs/builtins/Repl/env-sigs.md index 1f5060aaf..a266837cb 100644 --- a/docs/builtins/Repl/env-sigs.md +++ b/docs/builtins/Repl/env-sigs.md @@ -36,7 +36,9 @@ The following example demonstrates how to use the `env-sigs` function to set two The following example illustrates using the `env-sigs` function to grant "any" key the MINT capability: +```pact (env-sigs [ { 'key: 'any ,'caps: [(MINT (read-msg "token-id") (read-string 'account) 1.0)]} - ]) \ No newline at end of file + ]) + ``` \ No newline at end of file diff --git a/docs/builtins/Repl/expect.md b/docs/builtins/Repl/expect.md index ba347d4c7..783140935 100644 --- a/docs/builtins/Repl/expect.md +++ b/docs/builtins/Repl/expect.md @@ -35,6 +35,7 @@ pact> (expect "Sanity prevails." 4 (+ 2 2)) The following example illustrates using the `expect` function to verify that the information expected to be inserted into a table is the same as the result of the `get-token-info` function: +```pact (expect "Token info is inserted into table" { "id": "t:YV6-cQBhE_EoIXAuNV08aGXLfcucBEGy0Gb1Pj6w_Oo" ,"supply": 0.0 @@ -44,3 +45,4 @@ The following example illustrates using the `expect` function to verify that the } (get-token-info "t:YV6-cQBhE_EoIXAuNV08aGXLfcucBEGy0Gb1Pj6w_Oo") ) +``` \ No newline at end of file