Skip to content

Commit

Permalink
Fix the styles of code styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Feb 6, 2021
1 parent b2e2030 commit 6192dec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For example:

<CodeGroup labels={["Simple example"]} lineNumbers={[true]}>

```javaScript
```javascript
import { Counter } from 'k6/metrics';

var myCounter = new Counter('my_counter');
Expand All @@ -39,7 +39,7 @@ export default function() {

<CodeGroup labels={["Simple Threshold usage"]} lineNumbers={[true]}>

```javaScript
```javascript
import http from "k6/http";
import { Counter } from "k6/metrics";

Expand All @@ -58,7 +58,7 @@ export default function() {

<CodeGroup labels={["Advanced Thresholds"]} lineNumbers={[true]}>

```javaScript
```javascript
import { Counter } from 'k6/metrics';
import { sleep } from 'k6';
import http from 'k6/http';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The value of the `rate` variable ranges between `0.00` and `1.00`.

<CodeGroup labels={["Simple example"]} lineNumbers={[true]}>

```javaScript
```javascript
import { Rate } from 'k6/metrics';

var myRate = new Rate('my_rate');
Expand All @@ -43,7 +43,7 @@ export default function() {

<CodeGroup labels={["Usage in Thresholds"]} lineNumbers={[true]}>

```javaScript
```javascript
import { Rate } from 'k6/metrics';
import { sleep } from 'k6';
import http from 'k6/http';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The unit of these variables and functions are all in milliseconds.

<CodeGroup labels={["Simple example"]} lineNumbers={[true]}>

```javaScript
```javascript
import { Trend } from 'k6/metrics';

var myTrend = new Trend('my_trend');
Expand All @@ -57,7 +57,7 @@ export default function() {

<CodeGroup labels={["Usage in Thresholds"]} lineNumbers={[true]}>

```javaScript
```javascript
import { Trend } from 'k6/metrics';
import { sleep } from 'k6';
import http from 'k6/http';
Expand Down

1 comment on commit 6192dec

@ppcano
Copy link
Collaborator Author

@ppcano ppcano commented on 6192dec Feb 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.