Skip to content

Commit 9f1ac1e

Browse files
authored
Merge pull request #8 from philippbosch/patch-1
Fix some minor typos in the demo content
2 parents 565fe7d + ff978d8 commit 9f1ac1e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

demo/components/MarkdownSample.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We get lots of complaints about it actually, with people regularly asking us thi
1111
1212
We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful.
1313

14-
The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downside of doing something stupid like disabling our base styles.
14+
The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles.
1515

1616
It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document:
1717

@@ -31,7 +31,7 @@ It adds a new `prose` class that you can slap on any block of vanilla HTML conte
3131
</article>
3232
```
3333

34-
For more information about how to use the plugin and the features it includes, [read the documentation](#).
34+
For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md).
3535

3636
---
3737

@@ -80,17 +80,17 @@ And that's the end of this section.
8080

8181
### We should make sure that looks good, too.
8282

83-
Sometimes you have headings directly underneath each other. In those cases you have often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be.
83+
Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be.
8484

85-
### When a heading comes after a paragraph...
85+
### When a heading comes after a paragraph
8686

8787
When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like.
8888

8989
- **I often do this thing where list items have headings.**
9090

9191
For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right.
9292

93-
I often have two or three paragraphs in these list items too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way.
93+
I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way.
9494

9595
- **Since this is a list, I need at least two items.**
9696

@@ -179,13 +179,13 @@ We also need to make sure inline code looks good, like if I wanted to talk about
179179

180180
### Sometimes I even use `code` in headings
181181

182-
Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in tildes"_ trick works pretty well though really.
182+
Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really.
183183

184-
Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the tildes but it is absolutely not worth the madness it would require to avoid it.
184+
Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it.
185185

186186
#### We haven't used an `h4` yet
187187

188-
But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`.
188+
But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`.
189189

190190
We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks.
191191

0 commit comments

Comments
 (0)