├── .all-contributorsrc ├── .devcontainer └── devcontainer.json ├── .editorconfig ├── .eslintrc.cjs ├── .github ├── renovate.json └── workflows │ ├── stale.yml │ └── test.yml ├── .gitignore ├── .npmignore ├── .nvmrc ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── __tests__ ├── files │ ├── .gitkeep │ ├── index.html │ └── write-out-test.md ├── index.html ├── index.md ├── parse-flags.test.ts ├── shell.test.sh └── write-out.test.ts ├── jest.config.cjs ├── lint-staged.config.js ├── package.json ├── playground └── shell_test.js ├── prettier.config.cjs ├── release.config.cjs ├── src ├── html2md.ts ├── lib │ ├── parse-flags.ts │ └── write-out.ts └── turndown-plugin-gfm.d.ts ├── tsconfig.jest.json ├── tsconfig.json └── types └── turndown-plugin-gfm └── index.d.ts /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 22.13.0 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/files/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/files/index.html: -------------------------------------------------------------------------------- 1 |

foo

2 | -------------------------------------------------------------------------------- /__tests__/files/write-out-test.md: -------------------------------------------------------------------------------- 1 | # foo -------------------------------------------------------------------------------- /__tests__/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/__tests__/index.html -------------------------------------------------------------------------------- /__tests__/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/__tests__/index.md -------------------------------------------------------------------------------- /__tests__/parse-flags.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/__tests__/parse-flags.test.ts -------------------------------------------------------------------------------- /__tests__/shell.test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/__tests__/shell.test.sh -------------------------------------------------------------------------------- /__tests__/write-out.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/__tests__/write-out.test.ts -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /lint-staged.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/lint-staged.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/package.json -------------------------------------------------------------------------------- /playground/shell_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/playground/shell_test.js -------------------------------------------------------------------------------- /prettier.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/prettier.config.cjs -------------------------------------------------------------------------------- /release.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/release.config.cjs -------------------------------------------------------------------------------- /src/html2md.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/src/html2md.ts -------------------------------------------------------------------------------- /src/lib/parse-flags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/src/lib/parse-flags.ts -------------------------------------------------------------------------------- /src/lib/write-out.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/src/lib/write-out.ts -------------------------------------------------------------------------------- /src/turndown-plugin-gfm.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/src/turndown-plugin-gfm.d.ts -------------------------------------------------------------------------------- /tsconfig.jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/tsconfig.jest.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ff6347/to-markdown-cli/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/turndown-plugin-gfm/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module "turndown-plugin-gfm"; 2 | --------------------------------------------------------------------------------