From 22861c5c74292180f9f9fdadaafa7afb4455d2f6 Mon Sep 17 00:00:00 2001 From: taivlam <47955724+taivlam@users.noreply.github.com> Date: Sun, 16 Jan 2022 03:43:14 +0000 Subject: [markdown/en] Fixed minor typos & backticks * Added some periods at end of sentences for consistent style * Line 238 previously rendered as "` - even though GitHub preview correctly displayed 3 consecutive backticks, i.e.: ``` (hopefully this fix will work) * Line 281 missed the capitalization of "This" --- markdown.html.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'markdown.html.markdown') diff --git a/markdown.html.markdown b/markdown.html.markdown index 60ca1323..a6000910 100644 --- a/markdown.html.markdown +++ b/markdown.html.markdown @@ -169,9 +169,9 @@ render the numbers in order, but this may not be a good idea. 1. Item three ``` -(This renders the same as the above example) +(This renders the same as the example above.) -You can also use sublists +You can also use sublists. ```md 1. Item one @@ -203,7 +203,7 @@ a line with four spaces or a tab. ``` You can also re-tab (or add an additional four spaces) for indentation -inside your code +inside your code. ```md my_array.each do |item| @@ -211,13 +211,13 @@ inside your code end ``` -Inline code can be created using the backtick character `` ` `` +Inline code can be created using the backtick character `` ` ``. ```md John didn't even know what the `go_to()` function did! ``` -In GitHub Flavored Markdown, you can use a special syntax for code +In GitHub Flavored Markdown, you can use a special syntax for code.
```ruby
@@ -227,7 +227,7 @@ end
```
The above text doesn't require indenting, plus GitHub will use syntax
-highlighting of the language you specify after the \`\`\`
+highlighting of the language you specify after the opening ```
.
## Horizontal rule
@@ -278,7 +278,7 @@ There is also "implicit naming" which lets you use the link text as the id.
[This][] is a link.
-[this]: http://thisisalink.com/
+[This]: http://thisisalink.com/
But it's not that commonly used.
--
cgit v1.2.3
From 873314f253a37932f836354b482fcda03f0bf505 Mon Sep 17 00:00:00 2001
From: Norwid Behrnd
-```ruby
+````md
+```ruby
def foobar
- puts "Hello world!"
+ puts "Hello world!"
end
-```
+```
+````
The above text doesn't require indenting, plus GitHub will use syntax
highlighting of the language you specify after the opening ```
.
@@ -264,11 +265,13 @@ Relative paths work too.
Markdown also supports reference style links.
-[Click this link][link1] for more info about it!
-[Also check out this link][foobar] if you want to.
+```md
+[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!"
+[link1]: http://test.com/ "Cool!"
+[foobar]: http://foobar.biz/ "Alright!"
+```
The title can also be in single quotes or in parentheses, or omitted
entirely. The references can be anywhere in your document and the reference IDs
@@ -276,9 +279,11 @@ can be anything so long as they are unique.
There is also "implicit naming" which lets you use the link text as the id.
-[This][] is a link.
+```md
+[This][] is a link.
-[This]: http://thisisalink.com/
+[This]: http://thisisalink.com/
+```
But it's not that commonly used.
@@ -311,9 +316,11 @@ Images are done the same way as links but with an exclamation point in front!
And reference style works as expected.
-![This is the alt-attribute.][myimage]
+```md
+![This is the alt-attribute.][myimage]
-[myimage]: relative/urls/cool/image.jpg "if you need a title, it's here"
+[myimage]: relative/urls/cool/image.jpg "if you need a title, it's here"
+```
## Miscellany
--
cgit v1.2.3