arche-highlight 0.5.2 → 0.5.3

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 +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -44,7 +44,7 @@ ArcheHighlight.parseJavaScript(code)
44
44
 
45
45
  ## React Element or HTML
46
46
  ArcheHighlight requires a special `Span` function to exist globally on the server `globalThis` object or on the client `window` object. The global `Span` function can be from `ReactElement`, which is created from `Arche` and `React`.
47
- ```
47
+ ```javascript
48
48
  const ReactElement = Arche(React)
49
49
  window.Span = ReactElement.Span
50
50
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arche-highlight",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Syntax highlighting for vanilla microfrontends",
5
5
  "author": "Richard Tong",
6
6
  "license": "CFOSS",