Skip to content

Commit f2369cd

Browse files
committed
Refactor docs
1 parent 26fdfe0 commit f2369cd

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

readme.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ React component to render markdown.
4848
* [Use remark and rehype plugins (math)](#use-remark-and-rehype-plugins-math)
4949
* [Plugins](#plugins)
5050
* [Syntax](#syntax)
51-
* [Types](#types)
5251
* [Compatibility](#compatibility)
5352
* [Architecture](#architecture)
5453
* [Appendix A: HTML in markdown](#appendix-a-html-in-markdown)
@@ -176,6 +175,15 @@ and
176175
[`defaultUrlTransform`][api-default-url-transform].
177176
The default export is [`Markdown`][api-markdown].
178177

178+
It also exports the additional [TypeScript][] types
179+
[`AllowElement`][api-allow-element],
180+
[`Components`][api-components],
181+
[`ExtraProps`][api-extra-props],
182+
[`HooksOptions`][api-hooks-options],
183+
[`Options`][api-options],
184+
and
185+
[`UrlTransform`][api-url-transform].
186+
179187
### `Markdown`
180188

181189
Component to render markdown.
@@ -593,17 +601,6 @@ We use [`micromark`][github-micromark] under the hood for our parsing.
593601
See its documentation for more information on markdown, CommonMark, and
594602
extensions.
595603
596-
## Types
597-
598-
This package is fully typed with [TypeScript][].
599-
It exports the additional types
600-
[`AllowElement`][api-allow-element],
601-
[`Components`][api-components],
602-
[`ExtraProps`][api-extra-props],
603-
[`HooksOptions`][api-hooks-options],
604-
[`Options`][api-options], and
605-
[`UrlTransform`][api-url-transform].
606-
607604
## Compatibility
608605
609606
Projects maintained by the unified collective are compatible with maintained

0 commit comments

Comments
 (0)