Skip to content

Commit cc8ba72

Browse files
committed
README
1 parent 5ba665f commit cc8ba72

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
![](./assets/salesforce_platform.png)
22

33
# Apex - a language grammar for the [Salesforce Platform](https://developer.salesforce.com)
4+
45
[![NPM](https://nodei.co/npm/highlightjs-apex.png)](https://www.npmjs.com/package/highlightjs-apex)
56

67
[![npm](https://img.shields.io/npm/v/highlightjs-apex)](https://www.npmjs.com/package/highlightjs-apex)
78
[![npm](https://img.shields.io/npm/dt/highlightjs-apex)](https://www.npmjs.com/package/highlightjs-apex)
8-
![install size](https://badgen.net/packagephobia/install/highlightjs-apex)
9+
![install size](https://badgen.net/packagephobia/install/highlightjs-apex)
910
[![GitHub](https://img.shields.io/github/license/highlightjs/highlightjs-apex)](https://github.com/highlightjs/highlightjs-apex/blob/main/LICENSE.md)
1011
![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/highlightjs-apex)
1112
[![CDN download](https://badgen.net/badge/jsDelivr/download/blue?icon=jsdelivr)](https://cdn.jsdelivr.net/npm/highlightjs-apex/dist/apex.min.js)
1213

1314
## Demo
1415

15-
The screenshot was captured from a [demo webpage](demo/testcode.html) after dropping `highlight.min.js` to a `dist` folder.
16+
The screenshot was captured from a [demo webpage](demo/testcode.html) using `highlight.min.js` from the `dist` folder.
1617
(Code taken from [Salesforce Trigger Framework](https://dschach.github.io/salesforce-trigger-framework/) and Highlight Java example code)
1718
![Demo](demo/ApexHighlighting.png)
1819

@@ -51,8 +52,9 @@ For more details see [Highlight.js main page](https://github.com/highlightjs/hig
5152

5253
```html
5354
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
54-
<script type="text/javascript"
55-
src="https://cdn.jsdelivr.net/npm/highlightjs-apex/dist/apex.min.js"></script>
55+
<script
56+
type="text/javascript"
57+
src="https://cdn.jsdelivr.net/npm/highlightjs-apex/dist/apex.min.js"></script>
5658
```
5759

5860
- More info: <https://www.jsdelivr.com/>

0 commit comments

Comments
 (0)