Update MdView link

This commit is contained in:
Alex Yatskov 2023-12-30 14:22:05 -08:00
parent f7fc2e4b94
commit 21d17514da
2 changed files with 1 additions and 31 deletions

View File

@ -14,7 +14,7 @@ MdView recursively renders the parent directory of the user-provided file and se
## Usage
Simply execute MdView with the path of the Markdown file you wish to view:
Execute MdView with the path of the Markdown file you wish to view:
```
mdview path/to/file.md
```
@ -26,11 +26,3 @@ Parameters:
-port int
port (default 8080)
```
## Installation
If you already have the Go environment and toolchain set up, you can get the latest version by running:
```
go install foosoft.net/projects/mdview@latest
```
Otherwise, you can use the [pre-built binaries](https://github.com/FooSoft/mdview/releases) from the project page.

View File

@ -1,22 +0,0 @@
#!/usr/bin/bash
rm -rf ./build
export GOARCH=amd64
export GOOS=windows
go build -o ./build/$GOOS/mdview/ .
pushd build/$GOOS
7za a mdview.$GOOS.zip mdview
popd
export GOOS=linux
go build -o ./build/$GOOS/mdview/ .
pushd build/$GOOS
tar czvf mdview.$GOOS.tar.gz mdview
popd
export GOOS=darwin
go build -o ./build/$GOOS/mdview/ .
pushd build/$GOOS
tar czvf mdview.$GOOS.tar.gz mdview
popd