From 55ded27c4f755c36e1ec09d681e76a7df418e6a9 Mon Sep 17 00:00:00 2001 From: daturkel Date: Mon, 12 Aug 2013 17:57:23 -0400 Subject: added markdown --- markdown.html.markdown | 224 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 markdown.html.markdown (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown new file mode 100644 index 00000000..8820c555 --- /dev/null +++ b/markdown.html.markdown @@ -0,0 +1,224 @@ +--- +language: markdown +contributors: + - ["Dan Turkel", "http://danturkel.com/"] +filename: markdown.md +--- + +Markdown was created by JohnGruber in 2004. It's meant to be an easy to read and write syntax which converts easily to HTML (and now many other formats as well). + +Give me as much feedback as you want! / Feel free to fork and pull request! + + +```markdown + + + + + + +# This is an

+## This is an

+### This is an

+#### This is an

+##### This is an

+###### This is an
+ + +This is an h1 +============= + +This is an h2 +------------- + + + + +*This text is in italics.* +_And so is this text._ + +**This text is in bold.** +__And so is this text.__ + +***This text is in both.*** +**_As is this!_** +*__And this!__* + + + +~~This text is rendered with strikethrough.~~ + + + +This is a paragraph. I'm tryping in a paragraph isn't this fun? + +Now I'm in paragraph 2. +I'm still in paragraph 2 too! + + +I'm in paragraph three! + + + +I end with two spaces (highlight me to see them). + +There's a
above me! + + + +> This is a block quote. You can either +> manually wrap your lines and put a `>` before every line or you can let your lines get really long and wrapp on their own and it doesn't make a difference so long as they start with a `>`. + +> You can also use more than one level +>> of indentation? +> How neat is that? + + + + +* Item +* Item +* Another item + +or + ++ Item ++ Item ++ One more item + +or + +- Item +- Item +- One last item + + + +1. Item one +2. Item two +3. Item three + + + +1. Item one +1. Item two +1. Item three + + + + +1. Item one +2. Item two +3. Item three + * Sub-item + * Sub-item +4. Item four + + + + + This is code + So is this + + + + my_array.each do |item| + puts item + end + + + +John didn't even know what the `go_to()` function did! + + + +\`\`\`ruby +def foobar + puts "Hello world!" +end +\`\`\` + +<-- The above text doesn't require indenting, plus Github will use syntax highlighting of the language you specify after the ``` --> + + + + +*** +--- +- - - +**************** + + + + + +[Click me!](http://test.com/) + + + +[Click me!](http://test.com/ "Link to Test.com") + + + +[Go to music](/music/). + + + +[Click this link][link1] for more info about it! [Also check out this link][foobar] if you want to. + +[link1]: http://test.com/ "Cool!" +[foobar]: http://foobar.biz/ "Alright!" + + + + + +[This][] is a link. + +[this]: http://thisisalink.com/ + + + + + + +![This is hover-text (alt text) for my image](http://imgur.com/myimage.jpg "An optional title") + + + +![This is the hover-text.][myimage] + +[myimage]: relative/urls/cool/image.jpg "if you need a title, it's here" + + + + + is equivalent to [http://testwebsite.com/](http://testwebsite.com/) + + + + + + + +I want to type *this text surrounded by asterisks* but I don't want it to be in italics, so I do this: \*this text surrounded by asterisks\*. + + + + +| Col1 | Col2 | Col3 | +| :----------- | :------: | ------------: | +| Left-aligned | Centered | Right-aligned | +| blah | blah | blah | + +or, for the same results + +Col 1 | Col2 | Col3 +:-- | :-: | --: +Ugh this is so ugly | make it | stop + + + +``` + +For more info, check out John Gruber's official post of syntax [here](http://daringfireball.net/projects/markdown/syntax) and Adam Pritchard's great cheatsheet [here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). -- cgit v1.2.3 From 58a5885da076edeccba8a0bfcefc049cdf03f4af Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 11 May 2014 21:44:07 -0230 Subject: Fixed up line lengths, and removed syntax highlighting because it sucked. --- markdown.html.markdown | 68 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 45 insertions(+), 23 deletions(-) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 8820c555..606840d3 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -5,18 +5,25 @@ contributors: filename: markdown.md --- -Markdown was created by JohnGruber in 2004. It's meant to be an easy to read and write syntax which converts easily to HTML (and now many other formats as well). +Markdown was created by John Gruber in 2004. It's meant to be an easy to read and write syntax which converts easily to HTML (and now many other formats as well). Give me as much feedback as you want! / Feel free to fork and pull request! -```markdown - +``` + - + - + # This is an

## This is an

### This is an

@@ -30,7 +37,7 @@ This is an h1 This is an h2 ------------- - + @@ -44,11 +51,13 @@ __And so is this text.__ **_As is this!_** *__And this!__* - + ~~This text is rendered with strikethrough.~~ - + This is a paragraph. I'm tryping in a paragraph isn't this fun? @@ -58,7 +67,8 @@ I'm still in paragraph 2 too! I'm in paragraph three! - + I end with two spaces (highlight me to see them). @@ -67,7 +77,8 @@ There's a
above me! > This is a block quote. You can either -> manually wrap your lines and put a `>` before every line or you can let your lines get really long and wrapp on their own and it doesn't make a difference so long as they start with a `>`. +> manually wrap your lines and put a `>` before every line or you can let your lines get really long and wrap on their own. +> It doesn't make a difference so long as they start with a `>`. > You can also use more than one level >> of indentation? @@ -98,7 +109,8 @@ or 2. Item two 3. Item three - + 1. Item one 1. Item two @@ -115,12 +127,14 @@ or 4. Item four - + This is code So is this - + my_array.each do |item| puts item @@ -138,10 +152,12 @@ def foobar end \`\`\` -<-- The above text doesn't require indenting, plus Github will use syntax highlighting of the language you specify after the ``` --> +<-- The above text doesn't require indenting, plus Github will use syntax +highlighting of the language you specify after the ``` --> - + *** --- @@ -149,8 +165,8 @@ end **************** - - + [Click me!](http://test.com/) @@ -164,12 +180,15 @@ end -[Click this link][link1] for more info about it! [Also check out this link][foobar] if you want to. +[Click this link][link1] for more info about it! +[Also check out this link][foobar] if you want to. [link1]: http://test.com/ "Cool!" [foobar]: http://foobar.biz/ "Alright!" - + @@ -193,7 +212,8 @@ end - is equivalent to [http://testwebsite.com/](http://testwebsite.com/) + is equivalent to +[http://testwebsite.com/](http://testwebsite.com/) @@ -201,17 +221,19 @@ end -I want to type *this text surrounded by asterisks* but I don't want it to be in italics, so I do this: \*this text surrounded by asterisks\*. +I want to type *this text surrounded by asterisks* but I don't want it to be +in italics, so I do this: \*this text surrounded by asterisks\*. - + | Col1 | Col2 | Col3 | | :----------- | :------: | ------------: | | Left-aligned | Centered | Right-aligned | | blah | blah | blah | -or, for the same results + Col 1 | Col2 | Col3 :-- | :-: | --: -- cgit v1.2.3 From 2420e593a4e5c0450b8a2f485be874715c645372 Mon Sep 17 00:00:00 2001 From: Osvaldo Mendoza Date: Wed, 11 Jun 2014 17:36:16 -0400 Subject: Update markdown.html.markdown typo --- markdown.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 606840d3..9a863bac 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -59,7 +59,7 @@ Github, we also have: --> -This is a paragraph. I'm tryping in a paragraph isn't this fun? +This is a paragraph. I'm typing in a paragraph isn't this fun? Now I'm in paragraph 2. I'm still in paragraph 2 too! -- cgit v1.2.3 From eab554a7a7f2869ff7dac9f54acce9a7ed55cfa4 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 8 Sep 2014 13:08:28 +0200 Subject: Review docs for added rouge lexers and update those with new highlighters --- markdown.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 9a863bac..805255b8 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -10,7 +10,7 @@ Markdown was created by John Gruber in 2004. It's meant to be an easy to read an Give me as much feedback as you want! / Feel free to fork and pull request! -``` +```markdown - + *This text is in italics.* _And so is this text._ @@ -52,7 +52,7 @@ __And so is this text.__ *__And this!__* +Github, we also have strikethrough: --> ~~This text is rendered with strikethrough.~~ @@ -201,11 +201,11 @@ can be anything so long as they are unique. --> -![This is hover-text (alt text) for my image](http://imgur.com/myimage.jpg "An optional title") +![This is the alt-attribute for my image](http://imgur.com/myimage.jpg "An optional title") -![This is the hover-text.][myimage] +![This is the alt-attribute.][myimage] [myimage]: relative/urls/cool/image.jpg "if you need a title, it's here" -- cgit v1.2.3 From ccdd47267b28104a74352151a0424bd6f62bd390 Mon Sep 17 00:00:00 2001 From: Levi Bostian Date: Fri, 17 Oct 2014 21:09:51 -0500 Subject: Add a couple missing parts to the markdown doc from @ukom PR https://github.com/adambard/learnxinyminutes-docs/pull/341 --- markdown.html.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 3d4d0af6..7541f904 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -126,6 +126,14 @@ render the numbers in order, but this may not be a good idea --> * Sub-item 4. Item four + + +Boxes below without the 'x' are unchecked HTML checkboxes. +- [ ] First task to complete. +- [ ] Second task that needs done +This checkbox below will be a checked HTML checkbox. +- [x] This task has been completed + -- cgit v1.2.3 From aaa818fc2522bf49b07f33a4011d31cce5b01ad0 Mon Sep 17 00:00:00 2001 From: William Claude Tumeo Date: Thu, 1 Oct 2015 01:42:19 -0300 Subject: Add `kbd` tag --- markdown.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 7541f904..6d19710f 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -232,6 +232,12 @@ can be anything so long as they are unique. --> I want to type *this text surrounded by asterisks* but I don't want it to be in italics, so I do this: \*this text surrounded by asterisks\*. + + + +Your computer crashed? Try sending a +Ctrl+Alt+Del + -- cgit v1.2.3 From 795583521a81868ac96db53533fab4dd0c6a7285 Mon Sep 17 00:00:00 2001 From: Eric McCormick Date: Fri, 2 Oct 2015 13:50:07 -0500 Subject: fixed missing ! to create an actual comment ... which was causing everything subsequently to be rendered as code block, as the triple back tick (which should be inside a comment) wasn't being escaped as part of a comment --- markdown.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 6d19710f..acb808ea 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -160,7 +160,7 @@ def foobar end \`\`\` -<-- The above text doesn't require indenting, plus Github will use syntax + -- cgit v1.2.3 From 960ee4a1856db8eadb96277bb2422edfa8f2a81c Mon Sep 17 00:00:00 2001 From: Gabriel Halley Date: Wed, 7 Oct 2015 23:11:24 -0400 Subject: removing whitespace all over --- markdown.html.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index acb808ea..2333110f 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -70,7 +70,7 @@ I'm in paragraph three! -I end with two spaces (highlight me to see them). +I end with two spaces (highlight me to see them). There's a
above me! @@ -97,7 +97,7 @@ or + Item + One more item -or +or - Item - Item @@ -129,7 +129,7 @@ render the numbers in order, but this may not be a good idea --> Boxes below without the 'x' are unchecked HTML checkboxes. -- [ ] First task to complete. +- [ ] First task to complete. - [ ] Second task that needs done This checkbox below will be a checked HTML checkbox. - [x] This task has been completed @@ -169,7 +169,7 @@ with or without spaces. --> *** --- -- - - +- - - **************** -- cgit v1.2.3