nGitHubTOC icon indicating copy to clipboard operation
nGitHubTOC copied to clipboard

specify a license

Open SimpelMe opened this issue 3 years ago • 2 comments

I appreciate your toc generator. As simple as I looked for. I made some small changes fitting my needs. Now I ask if I can publish my changes as you didn't specify a license. I prefer MIT but of course do what is your preference.

Regards, Simpel

SimpelMe avatar Apr 29 '21 19:04 SimpelMe

Sure, feel free to publish. Or if you think others might like the changes then you can merge the code to mine.

I also prefer MIT license and just forgot to create one.

imthenachoman avatar May 02 '21 17:05 imthenachoman

Thanks. Made a lot of styling regarding to my other pages. The only relevant change I made is in line 34 of the js file:

var headingAnchor = headingTitle.toLowerCase().replace(/[^_0-9a-zÀ-ɏ- ]/g, "").replace(/ /g, "-");
// À-ɏ means Unicode 00C0 - 024F what means Latin-1 Supplement, Latin Extended-A and Latin Extended-B (inluding ä-Üß) 

Maybe you are interested in.

SimpelMe avatar May 02 '21 17:05 SimpelMe