File tree 2 files changed +1
-28
lines changed
2 files changed +1
-28
lines changed Original file line number Diff line number Diff line change 1
- // Old and new names:
2
1
/**
3
- * @typedef {import('prismjs').Grammar } Grammar
4
2
* @typedef {import('./lib/core.js').Syntax } Syntax
5
3
*/
6
4
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ and elegant virtual syntax highlighting using [Prism][github-prism].
20
20
* [ Use] ( #use )
21
21
* [ API] ( #api )
22
22
* [ ` refractor ` ] ( #refractor-1 )
23
- * [ ` Grammar ` ] ( #grammar )
24
23
* [ ` Root ` ] ( #root )
25
24
* [ ` Syntax ` ] ( #syntax )
26
25
* [ Examples] ( #examples )
@@ -148,9 +147,7 @@ Yields:
148
147
## API
149
148
150
149
This package exports the identifier [ ` refractor ` ] [ api-refractor ] .
151
- It also exports the [ TypeScript] [ ] types
152
- [ ` Grammar ` ] [ api-grammar ]
153
- and
150
+ It also exports the [ TypeScript] [ ] type
154
151
[ ` Syntax ` ] [ api-syntax ] .
155
152
There is no default export.
156
153
@@ -322,26 +319,6 @@ Yields:
322
319
]
323
320
```
324
321
325
- ### ` Grammar `
326
-
327
- Grammar.
328
-
329
- ###### Type
330
-
331
- ``` ts
332
- export type {Grammar } from ' prismjs'
333
- ```
334
-
335
- ### ` Root `
336
-
337
- Tree representing HTML.
338
-
339
- ###### Type
340
-
341
- ``` ts
342
- export type {Root } from ' hast'
343
- ```
344
-
345
322
### ` Syntax `
346
323
347
324
Refractor syntax function.
@@ -794,8 +771,6 @@ See [How to Contribute to Open Source][opensource-guide].
794
771
795
772
<!-- Definitions -->
796
773
797
- [ api-grammar ] : #grammar
798
-
799
774
[ api-refractor ] : #refractor
800
775
801
776
[ api-syntax ] : #syntax
You can’t perform that action at this time.
0 commit comments