Whenever you open a .md file, Neovim will prompt you to open a live preview in your browser. The preview syncs to your buffer as you type.
- Neovim 0.12+
- Git
- Node.js
| package clistuff | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "net/url" | |
| "os" | |
| "strings" | |
| ) |
| ## This help screen | |
| help: | |
| printf "Available targets\n\n" | |
| awk '/^[a-zA-Z\-\_0-9]+:/ { \ | |
| helpMessage = match(lastLine, /^## (.*)/); \ | |
| if (helpMessage) { \ | |
| helpCommand = substr($$1, 0, index($$1, ":")-1); \ | |
| helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \ | |
| printf "%-15s %s\n", helpCommand, helpMessage; \ | |
| } \ |