Skip to content

Commit

Permalink
markdown linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlakeWilliams committed Dec 3, 2020
1 parent 59619a3 commit b42ebd0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ Returning:
</div>
```


#### Slots

_Slots now refer to V2 of the slot implementation, which is the successor to Slots V1 and Content Areas._
Expand All @@ -185,10 +184,10 @@ per-component. e.g. `renders_many :blog_posts`

#### Defining Slots

* [Delegate Slots](#delegate-slots) - Used to render other components.
* [Lambda Slots](#lambda-slots) - Used to return strings or components to
- [Delegate Slots](#delegate-slots) - Used to render other components.
- [Lambda Slots](#lambda-slots) - Used to return strings or components to
render.
* [Pass through Slots](#pass-through-slots) - Used to pass content directly to a
- [Pass through Slots](#pass-through-slots) - Used to pass content directly to a
component.

##### Delegate Slots
Expand Down Expand Up @@ -286,7 +285,7 @@ class BlogComponnt < ViewComponent::Base
end
```

` # blog_component.html.erb`
`# blog_component.html.erb`

```ruby
<div>
Expand Down

0 comments on commit b42ebd0

Please sign in to comment.