New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

highlightjs-antlers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlightjs-antlers - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

.github/FUNDING.yml

4

package.json
{
"name": "highlightjs-antlers",
"version": "0.0.1",
"version": "1.0.0",
"main": "src/antlers.js",
"description": "Provides syntax highlighting for Antlers, the templating language for Statamic.",
"description": "Provides syntax highlighting for Antlers, a templating language for Statamic.",
"keywords": [

@@ -7,0 +7,0 @@ "antlers",

@@ -1,1 +0,48 @@

Just testing for now.
Antlers is a templating language for [Statamic](https://statamic.com/).
## Usage
Include the Highlight.js library in your webpage or Node app, and then include the Antlers highlighting module.
### Using the distribution files
If you already have a copy of Highlight.js and the Antlers within your project, you can include them both like so:
```html
<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" charset="UTF-8"
src="/path/to/highlightjs-antlers/dist/antlers.min.js"></script>
<script type="text/javascript">
hljs.highlightAll();
</script>
```
### Using UNPKG CDN
```html
<script type="text/javascript"
src="https://unpkg.com/highlightjs-antlers@0.0.1/dist/antlers.min.js"></script>
```
### Using Node
You may install the Antlers grammar using
```bash
npm install highlightjs-antlers
```
afterwards, you can register it like so:
```js
import hljs from 'highlight.js';
import hljsAntlers from 'highlightjs-antlers';
hljs.registerLanguage('antlers', hljsAntlers);
hljs.highlightAll();
```
## License
highlightjs-antlers is released under the CC0 1.0 License.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc