Skip to content

Commit

Permalink
Patch: Resolve name conflicting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
robloxiandemo committed Nov 11, 2023
1 parent 0dda628 commit 9bf7d7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
![](./assets/luau-logo.png)

# Luau language grammar for programming under the [Roblox Platform](https://devforum.roblox.com/).

## [View the Luau language here](https://luau-lang.org/).

[![NPM](https://nodei.co/npm/highlightjs-luau.png)](https://www.npmjs.com/package/highlightjs-luau)

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

Expand All @@ -35,8 +36,9 @@ Simply load this module after loading Highlight.js. You'll use the minified vers
### Using directly from the UNPKG CDN

```html
<script type="text/javascript"
src="https://unpkg.com/highlightjs-luau/dist/luau.min.js"></script>
<script
type="text/javascript"
src="https://unpkg.com/highlightjs-luau/dist/luau.min.js"></script>
```

- More info: <https://unpkg.com>
Expand All @@ -49,7 +51,7 @@ If you're using Node / Webpack / Rollup / Browserify, etc, simply require the la
var hljs = require('highlightjs');
var hljsLuau = require('highlightjs-luau');

hljs.registerLanguage("luau", hljsLuau);
hljs.registerLanguage('luau', hljsLuau);
hljs.highlightAll();
```

Expand All @@ -60,7 +62,7 @@ Highlightjs-luau is released under the MIT License. See [LICENSE](/LICENSE.md) f

## Author

Robloxian Demo [https://github.com/RobloxianDemo](https://github.com/RobloxianDemo)
Robloxian Demo [https://github.com/RobloxianDemo](https://github.com/RobloxianDemo).

## Contribution

Expand All @@ -69,5 +71,5 @@ Feel free to create issues or (even better) pull requests.
## Links

- The official site for the Highlight.js library is <https://highlightjs.org/>.
- The Highlight.js GitHub project: <https://github.com/highlightjs/highlight.js>
- Learn more about the Luau language: <https://luau-lang.org/why>
- The Highlight.js GitHub project: <https://github.com/highlightjs/highlight.js>.
- Learn more about the Luau language: <https://luau-lang.org/why>.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/robloxiandemo/highlightjs-luau.git"
"url": "git+https://github.com/highlightjs/highlightjs-luau.git"
},
"keywords": [
"Luau",
Expand All @@ -27,7 +27,7 @@
"author": "Robloxian Demo (https://github.com/robloxiandemo)",
"license": "MIT",
"bugs": {
"url": "https://github.com/robloxiandemo/highlightjs-luau/issues"
"url": "https://github.com/highlightjs/highlightjs-luau/issues"
},
"homepage": "https://github.com/robloxiandemo/highlightjs-luau#readme"
"homepage": "https://github.com/highlightjs/highlightjs-luau#readme"
}

0 comments on commit 9bf7d7d

Please sign in to comment.