GithubHelp home page GithubHelp logo

Comments (4)

KEINOS avatar KEINOS commented on July 23, 2024 1

@orpheuslummis

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.

orpheuslummis avatar orpheuslummis commented on July 23, 2024 1

great. thank you @KEINOS !

from github-markdown-toc.go.

KEINOS avatar KEINOS commented on July 23, 2024

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

from github-markdown-toc.go.

KEINOS avatar KEINOS commented on July 23, 2024

@orpheuslummis

The PR #37 has been merged! 🎉 If this fits your needs, please close the issue. 👍

from github-markdown-toc.go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.