readme.md links on npm vs github -
readme.md links on npm vs github -
bottom line: there way create anchor links (table-of-content style) in readme.md file work in both npm , github ?
hi all,
i have readme.md file both on github , on npm. @ top of file, there's table-of-contents, list of links. each link should point header in file.
after googling , reading stackoverflow answers, tried following:
[overview](#overview)
- resulted in npm pointing links github.
i resorted hard-coding links point proper anchors on npm - means clicking link on github redirected npm page.
the readme.md file can found here: https://github.com/ujc/layman.js/blob/master/readme.md
thx in adv!
what works me utilize plain html links. both github , npm markdown presentations allow embedded html , seems work fine. e.g.
<a href="#my-heading">link heading</a>
...
# heading
github npm markdown
Comments
Post a Comment