{"name":"typedoc-plugin-markdown","version":"4.0.0-next.13","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","api-docs":"npm run build && typedoc --options ./typedoc.api.js --out ./docs/api","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"},"devDependencies":{"typedoc-plugin-merge-modules":"^5.0.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<!--\n## Quick Links\n\n- [Installation]()\n- [Options]()\n- [Adding Frontmatter]()\n- [Output formatting]()\n- [Customizing / extending]()\n- [Recipes / demos]()\n- [Real life examples]()\n-->\n\n## Installation\n\n**Please note this pre-release version may contain breaking changes within the same semantic version.**\n\n<!--To see whats changed between version 3 and 4 please see [v4 release notes](xx).-->\n\n> [TypeDoc](https://typedoc.org/guides/installation/) 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\nThe plugin needs to be specified using the `plugin` argument:\n\n**command-line**\n\n```bash\ntypedoc --plugin typedoc-plugin-markdown\n```\n\n**typedoc.json**\n\n```json\n{\n  \"plugin\": [\"typedoc-plugin-markdown\"]\n}\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\nMore detailed documentation with examples can be found in the following:\n\n- [File output and content organization options]()\n\nBelow is a summary of the available options:\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- **`--indexFileName`**<br>\n  The file name the seperate index page. Ignored if readme=none or skipIndexPage=true. Default to `API.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\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- **`--hideKindPrefix`**<br>\n  Do not print the kind label as a title prefix. Defaults to `false`.\n- **`--hideHierarchy`**<br>\n  Do not print reflection hierarchy. Defaults to `false`.\n- **`--identifiersAsCodeBlocks`**<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- **`--tocFormat`**<br>\n  Render TOC with first line of member descriptions. 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## Adding Frontmatter\n\nIf frontmatter is required for adding further metadata please use [typedoc-plugin-frontmatter](https://github.com/tgreyuk/typedoc-plugin-frontmatter#readme).\n\n## Output formatting\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\nIn addition all test files are linted with [markdownlint](https://github.com/DavidAnson/markdownlint#readme).\n\n<!--\n## Customizing / extending\n\nThe plugin has been designed to provide as much flexibility as possible out of the box, however it is also possible to easily extend the in-built Markdown theme. For documentation on how to customise the theme please see here.\n\n## Demos\n\nPlease visit dedicated demo repo will some example use-cases.\n\n## Real life examples\n\nComing soon - We would love to showcases some real-life examples here.\n-->\n\n## Contributing\n\nContributions and suggestions are welcome. Please see the [contributing guidelines](CONTRIBUTING.md) for further details.\n\n## License\n\n[MIT](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/master/LICENSE)\n","readmeFilename":"README.md","gitHead":"1aa9b6bcf5fe253d341bcff4568fed1eff01cdce","_id":"typedoc-plugin-markdown@4.0.0-next.13","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-ZOcLsJoGN4QI5x1iS2M5lj6bA3MABf6hA183W1KebbxcBA+SFr+XIu73Uovv3SiwqPa+viBftLzkZlLyA6J9bg==","shasum":"197cb2dfa91149c0d2db9ce5697cb3584ed912bb","tarball":"http://registry-npm.ywwl.com/typedoc-plugin-markdown/download/typedoc-plugin-markdown-4.0.0-next.13.tgz","fileCount":135,"unpackedSize":172480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/juj0vgGnIPdEsTAlA/a6yEq1d6BOBpwoL6VKhUZo0gIhAJ13nhzLTYfu/SMWR5mY/357jhJUn7cnYnK7T8JAoRXo"}],"size":33025,"noattachment":false,"key":"/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.0.0-next.13.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.13_1685086877001_0.9191017028349717"},"_hasShrinkwrap":false,"publish_time":1685086877196,"_cnpm_publish_time":1685086877196,"dist-tags":{"latest":"4.14.1"}}