In my Readme.MD
markdown file I want to create Table of Contents (for Github). [TOC]
(generated by Typora) doesn't show on Github. It shows like [TOC]
. Some of my headings contain characters like a dot or a comma. Is there any way to link to these headings?
I tried almost everything I think, such as: [app.js File](#app.js-file)
, [app.js File](#app-js-file)
, [app.js](#app--js-file)
, [app.js](#app\.js-file)
, [app.js](#appjs-file)
. Nothing works.
Here is an example:
Table of contents:
[app.js](#app-js)
[script.js](#script.js)
[One, two, three](#one,-two,-three)
# app.js File
Some text
# script.js File
Some text
# One, two, three
Some text
P.S. Some people are talking about creating HTML-anchors (named), but how/where do you write them in your MD-file (in case it is the solution). Could you explain it please (I couldn't find any solution on the internet).