Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Aug 15, 2024
1 parent b34f466 commit d5aeba3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ composer require leuverink/dotoo
<img src="/resources/images/block-comment.jpg" alt="inline-comment" width="540px" />
<img src="/resources/images/block-comment-result.jpg" alt="inline-comment-result" width="540px" />

Alternatively, you may also directly use the highlight component in your markup. This way you get full control over attributes and slots. Check it out:

```blade
<!-- Render a questionmark with tooltip -->
<x-dotoo::highlight todo="Hello World" />
<!-- Wrap an element using the main slot -->
<x-dotoo::highlight todo="Hello World">
Foo bar
</x-dotoo::highlight>
```

## Configuration

```php
Expand Down

0 comments on commit d5aeba3

Please sign in to comment.