Comments (4)
Nothing is better than a better document. I pull-requested how to go install
in the README.md @ PR #37.
from github-markdown-toc.go.
great. thank you @KEINOS !
from github-markdown-toc.go.
Since gh-md-toc
is already compatible with go.mod
, the go install
must include the main package path in /cmd/gh-md-toc
and the version of the application being followed.
The below command worked for me. (GO version go1.19 linux/amd64)
go install github.com/ekalinin/github-markdown-toc.go/cmd/gh-md-toc@latest
For reproducibility here's the sample on Docker.
$ docker run --rm -it golang:alpine /bin/sh
/go # cd
~ # go install github.com/ekalinin/github-markdown-toc.go/cmd/gh-md-toc@latest
go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.4
go: downloading github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: downloading github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
~ # gh-md-toc --version
1.2.0
~ # go version
go version go1.19 linux/amd64
- Ref: Compile and install packages and dependencies | go command @ pkg.go.dev
from github-markdown-toc.go.
The PR #37 has been merged! 🎉 If this fits your needs, please close the issue. 👍
from github-markdown-toc.go.
Related Issues (20)
- Can't display normally in gitbook
- Running setup is racecy and doesn't write an MBR reliably HOT 1
- ?access_token will stop functioning in the GitHub API soon
- Option for start depth
- [BUG] Can't work well when the text > 400KB HOT 1
- [Feature] Add --insert option (like in shell project) HOT 2
- New release HOT 4
- [BUG] TOC picks up YAML
- The released gh-md-toc.linux.amd64.tgz prints http headers
- [Feature] --insert flag HOT 1
- [ Report ] Can't create a TOC because GitHub API's response has changed HOT 1
- regression test failure with github-markdown-toc 1.2.0 HOT 4
- [Question] Hi,it had worked correctly before, but do not work now and prompt such information. HOT 3
- [BUG] [Windows release] Doesn't output any TOC, just a list of HTTP headers HOT 9
- [Feature] Replace TOC comment in place on a folder HOT 2
- [Feature] Sends data to github.com (should be able to send to internal github enterprise instead)
- [ BUG ] Unable to generate TOC
- [ BUG ] empty render
- Your code is completely broken now HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-markdown-toc.go.