From 31e677faec0362adee9834390f324b29a51d5532 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:06:29 -0300 Subject: [PATCH 01/10] Updated cheat sheet Added a description of how to make a table of contents with markdown. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index d9a40c8..650490d 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ 22. [DropDown](#dropdown) 23. [Diagrams](#diagrams) 24. [FootNote](#footnote) +25. [Table of Contents](#table-of-contents) Many Thanks to all the `Stargazers` who has supported this project with stars(⭐) @@ -600,3 +601,22 @@ Here's a simple footnote,[^1] and here's a longer one.[^bignote] [^1]: This is the first footnote. [^bignote]: Here's one with multiple paragraphs and code. + +<\a> +## Table of Contents + +You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: +``` +[text that you want to display](name-of-section-link) +``` +Then, in the section that you want to link to just put `<\a> +## This is the first item in a table of contents + +<\a> +## This is the second item in a table of contents From 8d8127c1c9f5f39625791973ad957e6a8a292119 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:08:38 -0300 Subject: [PATCH 02/10] Fixed markdown error --- README.md | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 650490d..a19948f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ 22. [DropDown](#dropdown) 23. [Diagrams](#diagrams) 24. [FootNote](#footnote) -25. [Table of Contents](#table-of-contents) +25. [Table of Contents](#toc) Many Thanks to all the `Stargazers` who has supported this project with stars(⭐) @@ -577,6 +577,25 @@ RL variant D-->E; ``` +<\a> +## Table of Contents + +You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: +``` +[text that you want to display](name-of-section-link) +``` +Then, in the section that you want to link to just put ` +## This is the first item in a table of contents + + +## This is the second item in a table of contents + ## FootNote **Explanation:** @@ -602,21 +621,3 @@ Here's a simple footnote,[^1] and here's a longer one.[^bignote] [^bignote]: Here's one with multiple paragraphs and code. -<\a> -## Table of Contents - -You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: -``` -[text that you want to display](name-of-section-link) -``` -Then, in the section that you want to link to just put `<\a> -## This is the first item in a table of contents - -<\a> -## This is the second item in a table of contents From 05dced7e0606169456089647f0fd893d469714ee Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:10:09 -0300 Subject: [PATCH 03/10] Fixed Markdown error --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a19948f..cb9d644 100644 --- a/README.md +++ b/README.md @@ -583,11 +583,14 @@ RL variant You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: ``` [text that you want to display](name-of-section-link) + +[Make sure to space items with a line](some-section-link) ``` Then, in the section that you want to link to just put ` From f355fdb4cd05f5e0ac2beae4d18b0d7b83240683 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:11:52 -0300 Subject: [PATCH 04/10] still trying to fix markdown error --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cb9d644..06209f2 100644 --- a/README.md +++ b/README.md @@ -589,14 +589,15 @@ You can create a table of contents just like the one at the start of this cheet Then, in the section that you want to link to just put ` +<\a> ## This is the first item in a table of contents - +<\a> ## This is the second item in a table of contents ## FootNote From 4b2404384867f5fb260d2edb8b5870d3a7162b08 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:12:55 -0300 Subject: [PATCH 05/10] fixed markdown error --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 06209f2..5d10e6a 100644 --- a/README.md +++ b/README.md @@ -582,17 +582,17 @@ RL variant You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: ``` -[text that you want to display](name-of-section-link) +[text that you want to display](#name-of-section-link) -[Make sure to space items with a line](some-section-link) +[Make sure to space items with a line](#some-section-link) ``` Then, in the section that you want to link to just put `<\a> ## This is the first item in a table of contents From 890d224ed5ba950080336b8dbb76cfffc6183118 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:13:54 -0300 Subject: [PATCH 06/10] still fixing --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5d10e6a..bd6a8c2 100644 --- a/README.md +++ b/README.md @@ -577,7 +577,7 @@ RL variant D-->E; ``` -<\a> + ## Table of Contents You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: @@ -586,7 +586,7 @@ You can create a table of contents just like the one at the start of this cheet [Make sure to space items with a line](#some-section-link) ``` -Then, in the section that you want to link to just put ``. Just make sure that the text inside the parentheses in the table of contents matches the id. **Output:** @@ -594,10 +594,10 @@ Then, in the section that you want to link to just put `<\a> + ## This is the first item in a table of contents -<\a> + ## This is the second item in a table of contents ## FootNote From 856413f9c9d2960a2429d3bc00fdeed1c8976e3e Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:18:39 -0300 Subject: [PATCH 07/10] fixed grammar --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bd6a8c2..13c161d 100644 --- a/README.md +++ b/README.md @@ -580,25 +580,28 @@ RL variant ## Table of Contents +**Explanantion** You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: ``` [text that you want to display](#name-of-section-link) -[Make sure to space items with a line](#some-section-link) +[Make sure to space items with a line](#section-two) ``` -Then, in the section that you want to link to just put ``. Make sure that the text inside the parentheses in the table of contents item matches the id: +``` +## text that you want to display **Output:** -[This is the first item in a table of contents](#section-one) +[text that you want to display](#name-of-section-link) [This is the second item in a table of contents](#section-two) - -## This is the first item in a table of contents + +## Item one -## This is the second item in a table of contents +## Item two ## FootNote From cea3f33062a91d61d2caafcc267ee7237b028f0e Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:21:31 -0300 Subject: [PATCH 08/10] fixed markdown --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13c161d..2410a9e 100644 --- a/README.md +++ b/README.md @@ -580,7 +580,7 @@ RL variant ## Table of Contents -**Explanantion** +**Explanation** You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: ``` [text that you want to display](#name-of-section-link) @@ -589,8 +589,9 @@ You can create a table of contents just like the one at the start of this cheet ``` Then, in the section that you want to link to, put ` ## text that you want to display - +``` **Output:** [text that you want to display](#name-of-section-link) From c615ba1259e333fee7a9448a9d9e17941828ddb4 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:22:56 -0300 Subject: [PATCH 09/10] fixed markdown --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2410a9e..103abe2 100644 --- a/README.md +++ b/README.md @@ -581,6 +581,7 @@ RL variant ## Table of Contents **Explanation** + You can create a table of contents just like the one at the start of this cheet sheet with the following syntax: ``` [text that you want to display](#name-of-section-link) From 569b9143b6f6dcd420728004cb5a6312b7536ac1 Mon Sep 17 00:00:00 2001 From: catasaurus <72715637+catasaurus@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:24:10 -0300 Subject: [PATCH 10/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 103abe2..be2297f 100644 --- a/README.md +++ b/README.md @@ -597,7 +597,7 @@ Then, in the section that you want to link to, put ` ## Item one