shikijs / textmate-grammars-themes

Collection of TextMate grammars and themes in JSON
https://textmate-grammars-themes.netlify.app/
MIT License
116 stars 57 forks source link

feat: add Edge language support #64

Closed kravetsone closed 5 months ago

kravetsone commented 6 months ago

Edge is a simple, Modern, and batteries included template engine for Node.js. Edge is similar to writing JavaScript. If you know JavaScript, you know Edge.

Its highlighting is also supported on GitHub (github-linguist/linguist)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
  <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>
<body>
  {{ inspect(state.user) }}
    @set('time', 'afternoon')

    @component('components/modal', title = 'foo', title = 'bar')
        @slot('body')
            <p>hello</p>
        @endslot

        @slot('actions')
            @include('partials/button')
        @endslot
    @endcomponent
</body>
</html>

{{-- From https://github.com/edge-js/edge/blob/develop/examples/views/welcome.edge --}
netlify[bot] commented 6 months ago

Deploy Preview for textmate-grammars-themes ready!

Name Link
Latest commit 4a80d743c04e7458ab8d7b52a604eeb7c091c270
Latest deploy log https://app.netlify.com/sites/textmate-grammars-themes/deploys/667e731e49cc010008a0c870
Deploy Preview https://deploy-preview-64--textmate-grammars-themes.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.