Updated Live Previews (markdown)

Mischievous Meerkat 2020-05-06 11:06:54 +05:30
parent 0a3fb1df96
commit 79322a9bbf

@ -3,13 +3,13 @@
A live preview is a window that shows information about whatever file or directory `nnn` has highlighted. As the cursor moves, the live preview window will automatically update. A live preview is a window that shows information about whatever file or directory `nnn` has highlighted. As the cursor moves, the live preview window will automatically update.
## A Simple Example ## Configuration example
There are two aspects to creating a live preview: There are two aspects to creating a live preview:
1. A preview command 1. A preview command
1. A setup command 1. A setup command
### A Preview Command Example ### Preview command example
```sh ```sh
#!/usr/bin/env sh #!/usr/bin/env sh
@ -61,7 +61,7 @@ done < "$NNN_FIFO"
``` ```
### A Setup Command Example ### Setup command example
To create your own setup command, you need the following steps: To create your own setup command, you need the following steps:
1. Create a `NNN_FIFO` 1. Create a `NNN_FIFO`