Skip to content

Commit

Permalink
Fix doc headings
Browse files Browse the repository at this point in the history
  • Loading branch information
niveathika committed Jun 4, 2024
1 parent 5b1fd90 commit ed88ec7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Pluralize Ballerina Connector
# Pluralize Ballerina Connector

[![Build](https://github.com/niveathika/module-niveathika-pluralize/actions/workflows/ci.yml/badge.svg)](https://github.com/niveathika/module-niveathika-pluralize/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/niveathika/module-niveathika-pluralize/branch/main/graph/badge.svg)](https://codecov.io/gh/niveathika/module-niveathika-pluralize)
Expand All @@ -11,19 +11,19 @@ This module utilizes a predefined list of rules, applied sequentially, to singul

This module is a migration of the [`pluralize`](https://www.npmjs.com/package/pluralize) library by [`Blake Embrey`](https://github.com/blakeembrey). All credit goes to him.

### Quickstart
## Quickstart

To use the `pluralize` connector in your Ballerina application, modify the `.bal` file as follows:

#### Step 1: Import the module
### Step 1: Import the module

Import the `pluralize` module.

```ballerina
import niveathika/pluralize;
```

#### Step 2: Invoke the connector operation
### Step 2: Invoke the connector operation

Now, utilize the available connector operations.

Expand All @@ -40,15 +40,15 @@ pluralize:isPlural("test"); // false
pluralize:isPlural("tests"); // true
```

#### Step 3: Run the Ballerina application
### Step 3: Run the Ballerina application

```bash
bal run
```

### Build from the source
## Build from the source

#### Prerequisites
### Prerequisites

1. Download and install Java SE Development Kit (JDK) version 17. You can download it from either of the following sources:

Expand All @@ -63,7 +63,7 @@ bal run

> **Note**: Ensure that the Docker daemon is running before executing any tests.
#### Build options
### Build options

Execute the commands below to build from the source.

Expand Down
8 changes: 4 additions & 4 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ This module utilizes a predefined list of rules, applied sequentially, to singul

This module is a migration of the [`pluralize`](https://www.npmjs.com/package/pluralize) library by [`Blake Embrey`](https://github.com/blakeembrey). All credit goes to him.

### Quickstart
## Quickstart

To use the `pluralize` connector in your Ballerina application, modify the `.bal` file as follows:

#### Step 1: Import the module
### Step 1: Import the module

Import the `pluralize` module.

```ballerina
import niveathika/pluralize;
```

#### Step 2: Invoke the connector operation
### Step 2: Invoke the connector operation

Now, utilize the available connector operations.

Expand All @@ -35,7 +35,7 @@ pluralize:isPlural("test"); // false
pluralize:isPlural("tests"); // true
```

#### Step 3: Run the Ballerina application
### Step 3: Run the Ballerina application

```bash
bal run
Expand Down
8 changes: 4 additions & 4 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ This module utilizes a predefined list of rules, applied sequentially, to singul

This module is a migration of the [`pluralize`](https://www.npmjs.com/package/pluralize) library by [`Blake Embrey`](https://github.com/blakeembrey). All credit goes to him.

### Quickstart
## Quickstart

To use the `pluralize` connector in your Ballerina application, modify the `.bal` file as follows:

#### Step 1: Import the module
### Step 1: Import the module

Import the `pluralize` module.

```ballerina
import niveathika/pluralize;
```

#### Step 2: Invoke the connector operation
### Step 2: Invoke the connector operation

Now, utilize the available connector operations.

Expand All @@ -35,7 +35,7 @@ pluralize:isPlural("test"); // false
pluralize:isPlural("tests"); // true
```

#### Step 3: Run the Ballerina application
### Step 3: Run the Ballerina application

```bash
bal run
Expand Down

0 comments on commit ed88ec7

Please sign in to comment.