Skip to content

Commit 87cff14

Browse files
committed
Update nameing
1 parent 24eb6f2 commit 87cff14

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/index.ts

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import type MarkdownIt from "markdown-it/lib"
2-
import { directives, Directive, directivePlugin, IDirectiveOptions } from "./directives"
3-
import { roles, Role, rolePlugin, IRoleOptions } from "./roles"
2+
import { rolesDefault, Role, rolePlugin, IRoleOptions } from "./roles"
3+
import {
4+
directivesDefault,
5+
Directive,
6+
directivePlugin,
7+
IDirectiveOptions
8+
} from "./directives"
49

5-
export { directives, directivePlugin, Directive, roles, rolePlugin, Role }
10+
export { rolesDefault, rolePlugin, Role }
11+
export { directivesDefault, directivePlugin, Directive }
612

713
/** Allowed options for docutils plugin */
814
export interface IOptions extends IDirectiveOptions, IRoleOptions {
@@ -15,8 +21,8 @@ const OptionDefaults: IOptions = {
1521
replaceFences: true,
1622
rolesAfter: "inline",
1723
directivesAfter: "block",
18-
directives,
19-
roles
24+
directives: directivesDefault,
25+
roles: rolesDefault
2026
}
2127

2228
/**

0 commit comments

Comments
 (0)