{"name":"typedoc-plugin-markdown","version":"4.0.0-next.12","description":"A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.","main":"dist/index.js","scripts":{"lint":"npm-run-all lint:*","lint:ts":"eslint ./src --ext .ts","lint:markdown":"npm run docs && markdownlint ./out/md","prepublishOnly":"npm run lint && npm run build && npm run test","prebuild":"ts-node scripts/build-resources","build":"rm -rf dist && tsc","test":"jest --colors --updateSnapshot","build-and-test":"npm run build && npm run test","docs":"npm run build && npm-run-all docs:*","docs:md-1":"typedoc --options ../../stubs/typedoc.1.js --out ./out/md/md-1","docs:md-2":"typedoc --options ../../stubs/typedoc.2.js --out ./out/md/md-2","docs:md-3":"typedoc --options ../../stubs/typedoc.3.js --out ./out/md/md-3","docs:html":"typedoc --options ../../stubs/typedoc.base.js --out ./out/html"},"author":{"name":"Thomas Grey"},"license":"MIT","bugs":{"url":"https://github.com/tgreyuk/typedoc-plugin-markdown/issues"},"repository":{"type":"git","url":"git+https://github.com/tgreyuk/typedoc-plugin-markdown.git","directory":"packages/typedoc-plugin-markdown"},"homepage":"https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/typedoc-plugin-markdown","keywords":["markdown","typescript","documentation","api","typedocplugin","typedoc"],"peerDependencies":{"prettier":">=1.8.0","typedoc":">=0.24.0"},"types":"./dist/index.d.ts","readme":"# typedoc-plugin-markdown\n\nA plugin for [TypeDoc](https://typedoc.org) that renders TypeScript API documentation as Markdown.\n\n[![npm](https://img.shields.io/npm/v/typedoc-plugin-markdown.svg)](https://www.npmjs.com/package/typedoc-plugin-markdown)\n[![Build Status](https://github.com/tgreyuk/typedoc-plugin-markdown/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/tgreyuk/typedoc-plugin-markdown/actions/workflows/ci.yml)\n\n## What does it do?\n\nBy default, TypeDoc will render API documentation as a webpage, e.g. HTML files.\n\nThe plugin replaces the default HTML theme with a built-in Markdown theme and exposes some additional options. This is useful if documentation is required to be included in project README files, Wikis and static site generators.\n\n## Installation\n\n**Please note this pre-release version may contain breaking changes within the same semantic version.**\n\n> [TypeDoc](https://typedoc.org) and [Prettier](https://prettier.io/) are both required peer dependencies.\n\n```bash\nnpm install typedoc-plugin-markdown@next --save-dev\n```\n\n## Usage\n\n```bash\ntypedoc --plugin typedoc-plugin-markdown\n```\n\n## Options\n\nThe following options can be used in addition to relevant [TypeDoc options](https://typedoc.org/options/)\n(please note that TypeDoc options specific to the HTML theme will be ignored).\n\n### File output and content organization options\n\n- **`--outputFileStrategy`**<br>\n  Determines how output files are generated. Allowed values `modules` (all symbols hoisted to a single modules file) or `members` (each symbol exported to a seperate file as per HTML theme). Default to `members`.\n- **`--includeFileNumberPrefixes`**<br>\n  Prefixes generated files and folders with number prefixes. This is useful for implementations that support auto sidebar generation. Defaults to `false`.\n- **`--flattenOutputFiles`**<br>\n  Flatten output files without folders. Defaults to `false`.\n- **`--entryFileName`**<br>\n  The file name of the entry page (either project readme or API index if readme=none). `README.md` is recognised when browsing folders on repos and Wikis, while using `index.md`. Defaults to `README.md`.\n- **`--skipIndexPage`**<br>\n  Skips generation of a seperate API index page. Note the index page can be inserted into the readme page using the `$TYPEDOC_INDEX` placeholder key. Ignored if readme=none. Defaults to `false`.\n- **`--indexPageTitle`**<br>\n  The title of API index page. Defaults to the project name.\n- **`--excludeGroups`**<br>\n  By default members are grouped by kind (eg Classes, Functions etc). This option excludes such groupings so all members are rendered and sorted at the same level. Defaults to `false`.\n\nPlease see [File output and content organization options](./docs/file-output-options.md) for further documentation.\n\n### UI options\n\n- **`--hidePageHeader`**<br>\n  Do not print the page header. Defaults to `false`.\n- **`--hideBreadcrumbs`**<br>\n  Do not print breadcrumbs. Defaults to `false`.\n- **`--hideInPageTOC`**<br>\n  Do not print in-page index items. Defaults to `false`.\n- **`--hidePageTitle`**<br>\n  Do not print the page title. Defaults to `false`.\n- **`--hideKindTag`**<br>\n  Do not print the kind tag identifiers for symbols. Defaults to `false`.\n- **`--hideHierarchy`**<br>\n  Do not print reflection hierarchy. Defaults to `false`.\n- **`--indentifiersAsCodeBlocks`**<br>\n  Format signature and declaration identifiers in code blocks. Note if `true` references will not be linked. Defaults to `false`.\n- **`--propertiesFormat`**<br>\n  Specify the render style of properties groups for interfaces, classes and type literals. Expected values [`list`, `table`]. Defaults to `list`.\n- **`--enumMembersFormat`**<br>\n  Specify the render style of Enum members. Expected values [`list`, `table`]. Defaults to `list`.\n- **`--typeDeclarationFormat`**<br>\n  Specify the render style for type declaration members. Expected values [`list`, `table`]. Defaults to `list`.\n\n### Utility options\n\n- **`--baseUrl`**<br>\n  Specifies the base url for internal link. If omitted all urls will be relative. Defaults to `.`\n- **`--anchorFormat`**<br>\n  The anchor style to use when linking to internal symbols. Expected values [`lowercase`, `slug`, `none`]. Defaults to `lowercase`.\n- **`--anchorPattern`**<br>\n  The anchor pattern to use when linking to internal symbols. e.g customprefix-{{anchor}}.\n- **`--namedAnchors`**<br>\n  Use HTML named anchor tags for implementations that do not assign header ids. Defaults to `false`.\n\n## Frontmatter\n\nIf frontmatter is required for adding further metadata please use [typedoc-plugin-frontmatter](https://github.com/tgreyuk/typedoc-plugin-frontmatter).\n\n## Output formatting (Prettier)\n\nGenerated Markdown is now parsed with [Prettier](https://prettier.io/) which is backed by the remark-parse package. Parsing documents with Prettier has several benefits:\n\n- Produces a consistent format.\n- Removes unnecessary escape characters.\n- Formats code blocks inside comment fenced blocks.\n\nAny [prettier configuration](https://prettier.io/docs/en/configuration.html) files discovered will be passed as options to the parser.\n\n## Further Documentation\n\n- [File output and content organization options](./docs/file-output-options.md).\n\n## Demos\n\nTODO\n\n## Real life examples\n\nTODO\n\n## License\n\n[MIT](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/master/LICENSE)\n\n```\n\n```\n","readmeFilename":"README.md","gitHead":"f56e174f037eb55b65e956721fd92e06a60ff984","_id":"typedoc-plugin-markdown@4.0.0-next.12","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-D1MD7qFJJjbmnQrACvstldwmg93qpFu5xzE8zfMFZL1XldMwGXdSQtUliyV0iHv6rHE+9v0Tpz1RKsaYpgZXZA==","shasum":"f9df9f5b327b592145b3c1cd7bd6995fedd20a9a","tarball":"http://registry-npm.ywwl.com/typedoc-plugin-markdown/download/typedoc-plugin-markdown-4.0.0-next.12.tgz","fileCount":131,"unpackedSize":152198,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRrVlehkInXqDM3bmT7shj2PQ+kwIcq+m03mv7UpzWeAiEA/C0SIzDcc4+Qru6aAbhy8pKETOv8LIAWyooDq9bTqag="}],"size":28927,"noattachment":false,"key":"/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.0.0-next.12.tgz"},"_npmUser":{"name":"tgreyuk","email":"tgreyuk@gmail.com"},"directories":{},"maintainers":[{"name":"tgreyuk","email":"tgreyuk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typedoc-plugin-markdown_4.0.0-next.12_1684310056884_0.25185652468640307"},"_hasShrinkwrap":false,"publish_time":1684310057101,"_cnpm_publish_time":1684310057101,"dist-tags":{"latest":"4.14.1"}}