Skip to content

Commit 3622b7c

Browse files
authored
Merge pull request #34 from shivjm/fix-remark-textras
Fix remark-textras
2 parents 9aaa8a5 + 5af8b56 commit 3622b7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/remark-textras/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { Root, Parent } from "hast";
22
import { visit } from "unist-util-visit";
3-
import { getFirstAndLastText, addClass } from "./ast";
3+
import { getFirstAndLastText, addClass } from "./ast.js";
44
// This is required to augment the AST type, but unfortunately can’t
55
// be imported using `import type`.
66
// import "mdast-util-to-hast";
77

8-
export const OPENING_QUOTE = /^(?:|||)/;
9-
export const CLOSING_QUOTE = /(?:|||)$/;
8+
const OPENING_QUOTE = /^(?:|||)/;
9+
const CLOSING_QUOTE = /(?:|||)$/;
1010

1111
export function textrasPlugin() {
1212
return transformer;

0 commit comments

Comments
 (0)