yapp 5.0.12 → 5.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,7 +20,7 @@ Yet Another Pretty Printer.
20
20
 
21
21
  ## Introduction
22
22
 
23
- Yapp is another pretty printer and a basic text editor. It has both a lexer and a parser under the hood, and can process content after parsing in order to refine its appearance still further. The result is an experience that rivals the best open source and commercial pretty printers. Yapp is also configurable. You can style it overall or target the syntax highlighting for specific languages. Its plugin architecture allows it to support additional languages. It also supports [Fira Code](https://github.com/tonsky/FiraCode).
23
+ Yapp is another pretty printer and a basic text editor. It has both a lexer and a parser under the hood, and can process content after parsing in order to refine its appearance still further. The result is an experience that rivals the best open source and commercial pretty printers. Yapp is also configurable. You can style it overall or target the syntax highlighting for specific languages. Its plugin architecture allows it to support additional languages. It also supports [Fira Code](https://github.com/tonsky/Fira Code).
24
24
 
25
25
  ## Installation
26
26
 
@@ -204,7 +204,7 @@ If you choose to enable Fira Code then you need to provide the necessary web fon
204
204
 
205
205
  ```
206
206
  @font-face {
207
- src: url("/css/woff2/FiraCode-Light.woff2");
207
+ src: url("/css/woff2/Fira Code-Light.woff2");
208
208
  font-family: "Fira Code";
209
209
  font-weight: normal;
210
210
  }
@@ -215,8 +215,8 @@ You do not have to provide this, rendering Yapp's styles will do so for you, but
215
215
  You can also preload the font files by putting something like the following in the header of the containing HTML page:
216
216
 
217
217
  ```
218
- <link rel="preload" href="/css/woff2/FiraCode-Bold.woff2" as="font" type="font/woff2" crossorigin >
219
- <link rel="preload" href="/css/woff2/FiraCode-Regular.woff2" as="font" type="font/woff2" crossorigin >
218
+ <link rel="preload" href="/css/woff2/Fira Code-Bold.woff2" as="font" type="font/woff2" crossorigin >
219
+ <link rel="preload" href="/css/woff2/Fira Code-Regular.woff2" as="font" type="font/woff2" crossorigin >
220
220
  ```
221
221
 
222
222
  Note that both the path and the host of the URLs are assumed fixed in the snippets above but this may not be the case. Instructions on how to rectify this can be found in the section on styling Yapp that follows:
@@ -281,9 +281,9 @@ In a similar vein to the overall style you can either copy and completely replac
281
281
  .yapp .java.syntax > .string-literal { color: "#f5087a"; }
282
282
  ```
283
283
 
284
- ### FiraCode styles
284
+ ### Fira Code styles
285
285
 
286
- If the paths of the web font files are different to the default then you may want to alter the FiraCode style:
286
+ If the paths of the web font files are different to the default then you may want to alter the Fira Code style:
287
287
 
288
288
  https://github.com/djalbat/yapp/blob/master/src/style/firaCode.js
289
289
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yapp",
3
3
  "author": "James Smith",
4
- "version": "5.0.12",
4
+ "version": "5.0.13",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/yapp",
7
7
  "description": "Yet Another Pretty Printer.",