yapp 5.0.8 → 5.0.10

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 +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -342,15 +342,17 @@ In the second instance, or if you want to remove the default style altogether ra
342
342
 
343
343
  import withStyle from "easy-with-style"; ///
344
344
 
345
- import { syntaxStyle, firaCodeStyle } from "yapp";
345
+ import { yappStyle, syntaxStyle, firaCodeStyle } from "yapp";
346
346
 
347
347
  const { renderStyle, renderStyles } = withStyle;
348
348
 
349
349
  const host = "";
350
350
 
351
- renderStyles(); // Always needed
351
+ renderStyles();
352
352
 
353
- renderStyle(syntaxStyle); // Leave this out if you wish.
353
+ renderStyle(yappStyle);
354
+
355
+ renderStyle(syntaxStyle);
354
356
 
355
357
  renderStyle(firaCodeStyle(host)); // Only needed for Fira Code support.
356
358
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yapp",
3
3
  "author": "James Smith",
4
- "version": "5.0.8",
4
+ "version": "5.0.10",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/yapp",
7
7
  "description": "Yet Another Pretty Printer.",