From 22e97fa4983dddbcafcef6bbea75ca6102a5871e Mon Sep 17 00:00:00 2001 From: horvski Date: Fri, 8 Dec 2023 16:19:19 -0700 Subject: [PATCH] Final push from Dave's review | Wrap crypto example in docs in quotes --- docs-src/content/functions/crypto.yml | 2 +- docs/content/functions/crypto.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-src/content/functions/crypto.yml b/docs-src/content/functions/crypto.yml index 33ba6976d..3e5754fbb 100644 --- a/docs-src/content/functions/crypto.yml +++ b/docs-src/content/functions/crypto.yml @@ -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 diff --git a/docs/content/functions/crypto.md b/docs/content/functions/crypto.md index 1a446c056..9f6393f17 100644 --- a/docs/content/functions/crypto.md +++ b/docs/content/functions/crypto.md @@ -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----- ... ```