From 803ca51d9f67fa7b1e59e999251637b1338aff0e Mon Sep 17 00:00:00 2001 From: Yury Date: Fri, 5 Mar 2021 17:39:46 +0300 Subject: [PATCH 1/2] fix: remove duplicated font-family to allow changing font-family with the variable --- src/BaseStyles.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/BaseStyles.js b/src/BaseStyles.js index 6732b22..a99173c 100644 --- a/src/BaseStyles.js +++ b/src/BaseStyles.js @@ -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; From db16eda238766ccd9852c17ee09c2deb9dcdf6ec Mon Sep 17 00:00:00 2001 From: Yury Date: Fri, 5 Mar 2021 17:40:20 +0300 Subject: [PATCH 2/2] docs: adjust readme formatting, fix typo --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c8f4a4b..7a35ff4 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,17 @@ Code snippets to render code implementation examples for a HTTP request. -## Example: +## Example ```html ``` -## 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 ``` @@ -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/) \ No newline at end of file