Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed Mar 6, 2019
1 parent ae0c852 commit e1e002b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ First, publish the package's config file.

Then, add the following entry to your `.env` file.

```toml
```
[...]
GITHUB_TOKEN=your-token-here
```
Expand Down Expand Up @@ -91,15 +91,15 @@ Styling markdown with CSS has always been a bit of a pain for me. Not to mention

GitDown ships with all the CSS you need to make your markdown look exactly like it does on GitHub. Just add this code somewhere on your HTML page, preferably near your other stylesheets in the `<head>` section.

```php
```html
<head>
[...]
@gitdown
</head>
```

**Non-Laravel**
```php
```html
<head>
[...]
<style><?php echo GitDown\GitDown::styles(); ?></style>
Expand All @@ -125,7 +125,6 @@ Now you can include the SCSS files in your Sass bundler:
To enable GFM parsing for GitDown, set the "context" entry in `config/gitdown.php` to a repository name.

```php
[...]
"context" => "your/repo",
```

Expand Down

0 comments on commit e1e002b

Please sign in to comment.