markdown-to-html-cli 3.2.10 → 3.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -10
- package/github.css +0 -898
- package/lib/create.js +54 -90
- package/lib/create.js.map +1 -1
- package/lib/index.d.ts +0 -9
- package/lib/index.js.map +1 -1
- package/lib/nodes/copy.d.ts +2 -0
- package/lib/nodes/copy.js +76 -1
- package/lib/nodes/copy.js.map +1 -1
- package/lib/nodes/dark-mode.d.ts +6 -0
- package/lib/nodes/dark-mode.js +29 -0
- package/lib/nodes/dark-mode.js.map +1 -0
- package/lib/nodes/{githubCornersFork.d.ts → github-corners-fork.d.ts} +0 -0
- package/lib/nodes/github-corners-fork.js +122 -0
- package/lib/nodes/github-corners-fork.js.map +1 -0
- package/lib/nodes/{githubCorners.d.ts → github-corners.d.ts} +1 -1
- package/lib/nodes/github-corners.js +107 -0
- package/lib/nodes/github-corners.js.map +1 -0
- package/lib/nodes/markdown-style.d.ts +2 -0
- package/lib/nodes/markdown-style.js +1045 -0
- package/lib/nodes/markdown-style.js.map +1 -0
- package/package.json +6 -14
- package/lib/nodes/githubCorners.js +0 -59
- package/lib/nodes/githubCorners.js.map +0 -1
- package/lib/nodes/githubCornersFork.js +0 -20
- package/lib/nodes/githubCornersFork.js.map +0 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Used in Github [Actions](https://github.com/actions).
|
|
|
20
20
|
- run: markdown-to-html --source src/README.md --output coverage/index.html
|
|
21
21
|
# or
|
|
22
22
|
- name: Converts Markdown to HTML
|
|
23
|
-
uses: jaywcjlove/
|
|
23
|
+
uses: jaywcjlove/markdown-to-html-cli@main
|
|
24
24
|
with:
|
|
25
25
|
source: README-zh.md
|
|
26
26
|
output: coverage/action.html
|
|
@@ -232,15 +232,6 @@ export interface MDToHTMLOptions extends RunArgvs {
|
|
|
232
232
|
rewrite?: RehypeRewriteOptions['rewrite'];
|
|
233
233
|
/** rewrite URLs of href and src attributes. */
|
|
234
234
|
reurls?: Record<string, string>;
|
|
235
|
-
/**
|
|
236
|
-
* rehype-wrap Options
|
|
237
|
-
* Wrap selected elements with a given element
|
|
238
|
-
* https://github.com/mrzmmr/rehype-wrap/tree/2402bcdb8ea25bd0948cda72e96d16e65a18c1e9#options
|
|
239
|
-
*/
|
|
240
|
-
wrap?: {
|
|
241
|
-
selector?: string;
|
|
242
|
-
wrapper?: string;
|
|
243
|
-
};
|
|
244
235
|
}
|
|
245
236
|
export declare function run(opts?: Omit<RunArgvs, "_">): any;
|
|
246
237
|
export declare const cliHelp: string;
|