【N.K】数式込みで静的サイト生成.pdf
- 7. !
→ !
→ (:;!
(:;→1:?!
;`WL:JYPW[
T X
E
- 8. (:;
export type KatexContentAst = Paragraph[];
export type Paragraph = (Sentence | Figure)[];
export type Sentence = {
mode: 'Sentence';
value: [InlineComponent, InlineComponent[], Period];
};
export type InlineComponent = RawString | DisplayMath | InlineMath | InlineCommand;
export type RawString = {
mode: 'rawString';
value: string;
};
export type InlineMath = {
mode: 'inlineMath';
value: string;
};
...