If you click the little link icon, the browser will reload. You will see the target URL for the header item’s link: While you are hovering the mouse over that little link icon, look at the bottom of the browser window (the status bar). In a GitHub Markdown file, if you hover the mouse over a heading, a little link icon appears: What should go in the (link) placeholder? I had to go back to my GitHub file to find that information. I knew what to put in the part: the section titles! So I filled those in with all the #, #, and # text in my document: (link) I made a bunch of inline link placeholders at the top of my document, after the title and document number. I went back to StackEdit to do the typing. When I published the StackEdit file to a GitHub README, the same content looked like this:Īfter I published my Markdown file to GitHub, I was ready to manually add a table of contents. Here’s what that looked like in StackEdit: My document had three levels of headings, so I went up to #. I followed the same organization as the original file, using # for the document title, # for first-level headings, # for second-level headings, and so on. Here’s how to make an inline link in Markdown:įirst, I wrote the file in Markdown. Here’s one way to make a bulleted (unordered) list in Markdown: The link text would be the title of the section, and the link would be to the corresponding section heading in the README file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |