You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/CHANGELOG.md
+19-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Changelog
2
2
3
+
## 4.6.2 (2025-04-09)
4
+
5
+
### Patch Changes
6
+
7
+
- Expose full declaration for returned union types ([#799](https://github.com/typedoc2md/typedoc-plugin-markdown/issues/799)).
8
+
- Move isOptional flag inside backTicks ([#797](https://github.com/typedoc2md/typedoc-plugin-markdown/issues/797)) - thanks @LekoArts.
9
+
- Added support for TypeDoc's v0.28.2 features `@group none`, `@category none` and `@disableGroups`.
10
+
11
+
## 4.6.1 (2025-04-02)
12
+
13
+
### Patch Changes
14
+
15
+
- Correctly render html table when interfacePropertiesFormat=htmlTable ([#794](https://github.com/typedoc2md/typedoc-plugin-markdown/issues/794)).
16
+
- Correctly handle overloaded function display in list and table views ([#793](https://github.com/typedoc2md/typedoc-plugin-markdown/issues/793)).
17
+
- Expose comments and signatures to index signature members.
18
+
- Wrap default values in back ticks on table views to be consistent with list views.
19
+
- Append semi colons to signature in code blocks.
20
+
3
21
## 4.6.0 (2025-03-23)
4
22
5
23
This release continues the effort to further align to TypeDoc’s default theme, with improvements that make the plugin more consistent and predictable.
@@ -57,7 +75,7 @@ From a consumer perspective there should be no direct breaking change from the p
57
75
58
76
- As per TypeDoc model updates, Object literal Type Alias members are now rendered in groups ("Properties", "Methods") etc rather than under a single "Type Declaration" heading.
59
77
- A new option "`typeAliasPropertiesFormat`" has been exposed to place properties rendered from the updated structure to a table format.
60
-
- Type parameter list views have been updated to separate items with markdown headings for consistency and to improve readability when parameters have detailed explanations or complex properties. If type parameters are straightforward and few in number switching to `typeParametersFormat=table` might be preferable.
78
+
- Type parameter list views have been updated to separate items with markdown headings for consistency and to improve readability when parameters have detailed explanations or complex properties. If type parameters are straightforward and few in number switching to `parametersFormat=table` might be preferable.
Copy file name to clipboardExpand all lines: docs/content/plugins/remark/CHANGELOG.md
+13
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
# Changelog
2
2
3
+
## 2.0.0
4
+
5
+
This release includes fundamental architectural improvements and support for loading plugins conditionally based on page kind.
6
+
7
+
### Architectural Changes
8
+
9
+
- The plugin now constructs virtual files directly from TypeDoc's output before writing to disk rather than re-reading the corresponding file from the filesystem. This change improves performance and reliability by eliminating unnecessary disk I/O.
10
+
-`remark-gfm`, `remark-frontmatter` and `remark-mdx` are no longer loaded by default.
11
+
-`remark-frontmatter` is only loaded if a frontmatter YAML block is observed in the input document.
12
+
-`remark-mdx` will need to be manually added if targetting MDX.
13
+
-`remark-gfm` will need to be manually added if other plugins require it.
14
+
- The plugin no longer adds a placeholder heading when `remark-toc` is added. Instead this logic has been decoupled in favour of the external plugin `remark-insert-headings`.
Copy file name to clipboardExpand all lines: docs/content/plugins/remark/options.mdx
+37-30
Original file line number
Diff line number
Diff line change
@@ -12,46 +12,55 @@ You can include any compatible [remark plugins](https://github.com/remarkjs/rema
12
12
13
13
Each plugin you wish to use must be installed individually.
14
14
15
-
Options can be provided as either an array of strings or an array of strings with associated options.
15
+
You can apply plugins globally to all pages, or selectively to specific kinds of pages.
16
16
17
-
```json filename="typedoc.json"
17
+
_Note: If a YAML frontmatter block is detected in the markdown, the [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter) plugin will be automatically applied to parse it._
18
+
19
+
**Basic Usage (Global Plugins)**
20
+
21
+
To apply Remark plugins to all documentation pages:
By default, the plugins [`remark-gfm`](https://github.com/remarkjs/remark-gfm), [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter), and [`remark-mdx`](https://github.com/mdx-js/mdx/tree/main/packages/remark-mdx) are included, as these are considered the most common use cases.
56
+
**Supported applyTo Values**
41
57
42
-
However, these plugins modify the default parsing behavior of remark, which may not be ideal for all scenarios.
58
+
You can target specific pages using the `applyTo` field.
43
59
44
-
If you'd like to disable any of these default plugins, simply set the corresponding flag to `false`.
60
+
The following applyTo values are supported:
45
61
46
-
```json filename="typedoc.json"
47
-
{
48
-
"defaultRemarkPlugins": {
49
-
"gfm": true,
50
-
"frontmatter": true,
51
-
"mdx": true
52
-
}
53
-
}
54
-
```
62
+
-`"*"` applies to all pages
63
+
- An array of on or more of the following page kinds: [`"Readme"`, `"Index"`, `"Module"`, `"Namespace"`, `"Document"`, `"Class"`, `"Interface"`, `"Enum"`, `"TypeAlias"`, `"Function"`, `"Variable"`].
55
64
56
65
## remarkStringifyOptions
57
66
@@ -61,9 +70,7 @@ If you'd like to disable any of these default plugins, simply set the correspond
61
70
62
71
Under the hood, the [`remark-stringify`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify) plugin is used to serialize the markdown into final output.
63
72
64
-
You can pass in options to the `remark-stringify` plugin using this option.
65
-
66
-
Please see https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#options
73
+
Please see https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#options for available options to pass to the plugin.
Here are a selection of remark plugins that might be useful. For a full list please visit the [remark plugins page](https://github.com/remarkjs/remark/blob/main/doc/plugins.md)
6
+
7
+
### remark-mdx
8
+
9
+
https://mdxjs.com/packages/remark-mdx
10
+
11
+
- If you are using MDX, this plugin is required to correctly parse to MDX.
12
+
13
+
```sh npm2yarn
14
+
npm install remark-mdx --save-dev
15
+
```
16
+
17
+
```json filename="typedoc.json"
18
+
{
19
+
"remarkPlugins": ["remark-mdx"]
20
+
}
21
+
```
22
+
23
+
### remark-github
24
+
25
+
https://github.com/remarkjs/remark-github
26
+
27
+
- Links references to commits, issues, and users in the same way that GitHub does in comments.
0 commit comments