Skip to content

Commit

Permalink
style code blocks in readmie
Browse files Browse the repository at this point in the history
  • Loading branch information
bastihilger authored Oct 5, 2020
1 parent b02d61d commit ccacaed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@ A Laravel Nova implementation of the [tiptap editor for Vue.js](https://github.c

Install via composer:

```
``` php
composer require manogi/nova-tiptap
```

## Usage with default settings:

```
``` php
Tiptap::make('FieldName')
```

This will give you just the bold and italic buttons.

You will also have to add this `use` statement to the top of the file:

```
``` php
use Manogi\Tiptap\Tiptap;
```


## Usage with your selection of buttons:

```
``` php
Tiptap::make('FieldName')
->buttons([
'heading',
Expand Down

0 comments on commit ccacaed

Please sign in to comment.