Skip to content

Commit

Permalink
Final push from Dave's review | Wrap crypto example in docs in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
horvski committed Dec 13, 2023
1 parent dc2444a commit 114c702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs-src/content/functions/crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ funcs:
description: the random seed encoded in either base64 or hex
examples:
- |
$ gomplate -i '{{ crypto.Ed25519GenerateKeyFromSeed "base64" MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA= }}'
$ gomplate -i '{{ crypto.Ed25519GenerateKeyFromSeed "base64" "MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA=" }}'
-----BEGIN PRIVATE KEY-----
...
- name: crypto.Ed25519DerivePublicKey
Expand Down
2 changes: 1 addition & 1 deletion docs/content/functions/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ seed | crypto.Ed25519GenerateKeyFromSeed encoding
### Examples

```console
$ gomplate -i '{{ crypto.Ed25519GenerateKeyFromSeed "base64" MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA= }}'
$ gomplate -i '{{ crypto.Ed25519GenerateKeyFromSeed "base64" "MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA=" }}'
-----BEGIN PRIVATE KEY-----
...
```
Expand Down

0 comments on commit 114c702

Please sign in to comment.