![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@ballerina/highlightjs-ballerina
Advanced tools
Ballerina is a statically typed, open-source cloud-native programming language developed and supported by WSO2.
With Ballerina, you could easily develop microservices, API endpoints and integrations, and any other application for the cloud. Additionally, Ballerina has all the general-purpose functionalities you could expect from a modern programming language.
With Ballerina's compiler-level built-in support for widely used data types such as JSON and XML, your focus on handling structured data, network service interactions, and dealing with concurrency is made much more effective.
It has inherently concurrent first-class language constructs for providing and consuming services.
Sequence diagram based graphical view shows the most fundamental aspect of the semantics of a network distributed application.
It allows for looser coupling between distributed components and eliminates the friction of data binding.
Extensible metadata enables easy integration of Ballerina programs with cloud platforms. You could directly generate Docker and Kubernetes artifacts straight away from the source code.
This repository offers highlight.js
support for Ballerina.
The first step in setting up syntax highlighting for Ballerina is to setup highlight.js
library in your webpage or the node app.
After loading highlight.js
, load the CDN build of Ballerina located in the dist
folder.
<!-- stylesheet -->
<link rel="stylesheet" href="https://unpkg.com/highlightjs/styles/vs.css" />
<!-- scripts -->
<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/ballerina.min.js"></script>
<script type="text/javascript">
hljs.highlightAll();
</script>
If you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.
var hljs = require('highlightjs');
var hljsBallerina = require('highlightjs-ballerina');
hljs.registerLanguage('ballerina', hljsBallerina);
hljs.highlightAll();
Ballerina code is distributed under Apache license 2.0.
FAQs
Ballerina language support for highlight.js
The npm package @ballerina/highlightjs-ballerina receives a total of 7 weekly downloads. As such, @ballerina/highlightjs-ballerina popularity was classified as not popular.
We found that @ballerina/highlightjs-ballerina demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.