Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed Mar 17, 2024
1 parent 4b9d5cf commit 28f92cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Fast, extensible, server-side code highlighting

Jump to:

- [Quickstart](#quickstart)
- [Special highlight tags](#special-highlight-tags)
- [Special highlight tags](#special-highlight-tags)
- [Commonmark integration](#commonmark-integration)
- [Adding or extending languages](#adding-or-extending-languages)

TODO:

- [ ] Add JS support
Expand Down Expand Up @@ -185,7 +193,7 @@ Keep in mind that you need to manually install `league/commonmark`:
composer require league/commonmark;
```

## Language support
## Adding or extending languages

This package makes it easy for developers to add new languages or extend existing languages. Right now, these languages are supported: `php`, `html`, `css`, and `blade`. More will be added.

Expand Down
13 changes: 1 addition & 12 deletions tests/test.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
<style>
.hl-a {
background-color: #FFFF0077;
}

.hl-b {
background-color: #FF00FF33;
}
</style>

```php
{`hl-a`public class Foo {}`}
{`hl-b`public class Bar {}`}
hi
```

0 comments on commit 28f92cb

Please sign in to comment.