Skip to content

Commit

Permalink
Fix ts extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed May 9, 2024
1 parent ec7706b commit 8e1f4c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/cli/odt2md.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import {fileURLToPath} from 'url';
import {Buffer} from 'buffer';
import fs from 'fs';

import {OdtProcessor} from '../odt/OdtProcessor.js';
import {UnMarshaller} from '../odt/UnMarshaller.js';
import {DocumentContent, DocumentStyles, LIBREOFFICE_CLASSES} from '../odt/LibreOffice.js';
import {OdtToMarkdown} from '../odt/OdtToMarkdown.js';
import {OdtProcessor} from '../odt/OdtProcessor.ts';
import {UnMarshaller} from '../odt/UnMarshaller.ts';
import {DocumentContent, DocumentStyles, LIBREOFFICE_CLASSES} from '../odt/LibreOffice.ts';
import {OdtToMarkdown} from '../odt/OdtToMarkdown.ts';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
Expand Down
4 changes: 2 additions & 2 deletions src/odt/postprocess/convertMathMl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {MarkdownNodes} from '../MarkdownNodes.js';
import {walkRecursiveSync} from '../markdownNodesUtils.js';
import {MarkdownNodes} from '../MarkdownNodes.ts';
import {walkRecursiveSync} from '../markdownNodesUtils.ts';

export function convertMathMl(markdownChunks: MarkdownNodes) {
walkRecursiveSync(markdownChunks.body, (chunk, ctx: { nodeIdx: number }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/odt/postprocess/postProcess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {removeEmptyTags} from './removeEmptyTags.ts';
import {removeExcessiveLines} from './removeExcessiveLines.ts';
import {applyRewriteRules} from './applyRewriteRules.ts';
import {RewriteRule} from '../applyRewriteRule.ts';
import {convertMathMl} from './convertMathMl.js';
import {convertMathMl} from './convertMathMl.ts';

export async function postProcess(chunks: MarkdownNodes, rewriteRules: RewriteRule[]) {
convertToc(chunks);
Expand Down

0 comments on commit 8e1f4c2

Please sign in to comment.