-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
executable file
·47 lines (45 loc) · 990 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { all } from '../all'
import { body } from './body'
import { p } from './p'
import { root } from './root'
import { text } from './text'
import { citation } from './citation'
import { tbl } from './tbl'
import { footnote } from './footnote'
import { document } from './document'
import { r } from './r'
import { tr } from './tr'
import { drawing } from './drawing'
import { Context } from '../types'
import { displayMath } from './displayMath'
import { oMathPara } from './oMathPara'
import { tc } from './tc'
import { footnoteReference } from './footnoteReference'
import { oMath } from './oMath'
export const handlers: Context['handlers'] = {
p,
body,
root,
text,
document,
footnotes: all,
footnote,
t: all,
oMathPara: oMathPara,
oMath,
r,
instrText: citation,
tbl,
tr,
tc,
article: ignore,
xml: ignore,
instruction: ignore,
doctype: ignore,
drawing,
footnoteReference,
endNoteReference: footnoteReference,
}
function ignore() {
//
}