Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from deiteris/stage
Browse files Browse the repository at this point in the history
Fix font-family adjustment for the code snippets container
  • Loading branch information
jarrodek authored Mar 12, 2021
2 parents 89cfd26 + db16eda commit c9224b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,17 @@

Code snippets to render code implementation examples for a HTTP request.

## Example:
## Example

```html
<http-code-snippets url="https://api.github.com/authorizations" method="POST" payload='{"scopes": ["public_repo"]}'></http-code-snippets>
```

## API components

This components is a part of [API components ecosystem](https://elements.advancedrestclient.com/)

## Usage

### Installation
```

```sh
npm install --save @advanced-rest-client/http-code-snippets
```

Expand Down Expand Up @@ -77,6 +74,11 @@ npm start
```

### Running the tests

```sh
npm test
```

## API components

This component is a part of [API components ecosystem](https://elements.advancedrestclient.com/)
1 change: 0 additions & 1 deletion src/BaseStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ pre[class*="language-"] {
color: var(--code-color, black);
text-shadow: 0 1px white;
text-shadow: var(--http-code-snippet-code-text-shadow, 0 1px white);
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
word-spacing: normal;
line-height: 1.5;
Expand Down

0 comments on commit c9224b4

Please sign in to comment.