Skip to content

Commit dd4840a

Browse files
committed
docs: fixed formatting
1 parent efe293f commit dd4840a

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

docs/reference/polykey-cli/commands/secrets.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ $ polykey secrets dir ~/test-dir vault1
6565
3. If the edited file isn't saved or the editor crashes, the secret will not be
6666
written
6767

68-
:::warning This command does not work on Windows yet :::
68+
:::warning Warning
69+
70+
This command does not work on Windows yet
71+
72+
:::
6973

7074
Usage:
7175

@@ -85,7 +89,11 @@ I edited this secret inside an editor
8589
4. If no paths are specified, this command takes input from `stdin` and prints
8690
it to `stdout`
8791

88-
:::tip `^D` in the terminal stands for the key combination 'Ctrl-D' :::
92+
:::tip Tip
93+
94+
`^D` in the terminal stands for the key combination 'Ctrl-D'
95+
96+
:::
8997

9098
Usage:
9199

@@ -184,7 +192,11 @@ new-name
184192
1. Get the stats of a specified secret from a vault
185193
2. Requires secret location (vaultName:secretName) as a parameter
186194

187-
:::note The mode (or file permissions) doesn't exist within a vault :::
195+
:::note Note
196+
197+
The mode (or file permissions) doesn't exist within a vault
198+
199+
:::
188200

189201
Usage:
190202

@@ -213,7 +225,10 @@ blocks: 1
213225
2. Run a command with the specified variables, or export them in the current
214226
working environment
215227

216-
:::note Separate the environment variables from the command by passing in a `--`
228+
:::note Note
229+
230+
Separate the environment variables from the command by passing in a `--`
231+
217232
:::
218233

219234
Usage:
@@ -253,11 +268,15 @@ do not commit your keys to github
253268
1. Reads input from `stdin` and writes it to the specified file
254269
2. If the file doesn't exist, it gets created
255270

256-
:::tip `stdin`, or standard input, can be either manually entered by typing, or
271+
:::tip Tip
272+
273+
`stdin`, or standard input, can be either manually entered by typing, or
257274
piped in through another command.
258275

259276
To close the input steam and save the file, press `^D`, or 'Ctrl-D' in a new
260-
line, or press `^D` twice on the same line. :::
277+
line, or press `^D` twice on the same line.
278+
279+
:::
261280

262281
Usage:
263282

0 commit comments

Comments
 (0)