Commit Graph

15 Commits

Author SHA1 Message Date
Marcus Blättermann
47e4c62741
Fix code syntax highlighting 2022-12-20 23:21:08 +01:00
Marcus Blättermann
46fb76c281
Extract function to own file 2022-12-20 23:21:08 +01:00
Marcus Blättermann
e5c4b18ccc
Remove unused code 2022-12-20 23:21:08 +01:00
Marcus Blättermann
049279657a
Readd InlineCode component
MDX2 removed the `inlineCode` component

> The special component name `inlineCode` was removed, we recommend to use `pre` for the block version of code, and code for both the block and inline versions

Source: https://mdxjs.com/migrating/v2/#update-mdx-content
2022-12-20 23:21:08 +01:00
Marcus Blättermann
799013c4cf
Enable code blocks plugin 2022-12-20 23:21:08 +01:00
Marcus Blättermann
66f7bd5d5c
Add plugin to fix problem with wrapped images
For more details see this issue: https://github.com/mdx-js/mdx/issues/1798
2022-12-20 17:51:56 +01:00
Marcus Blättermann
2d12e13f32
Add plugin to readd support for tables 2022-12-20 17:51:56 +01:00
Marcus Blättermann
4340a9a248
Add plugin for custom attributes on Markdown elements 2022-12-20 17:51:56 +01:00
Marcus Blättermann
343c0054f2
Simplify unnessary adding of id to sections
The slugified section ids are useless, because they can not be referenced anywhere anyway. The navigation only works if the section has the same id as the heading.
2022-12-20 17:51:56 +01:00
Marcus Blättermann
93a52e00da
Rename wrapper type 2022-12-20 17:51:56 +01:00
Marcus Blättermann
fe600c30ca
Use plugin 2022-12-20 17:51:55 +01:00
Marcus Blättermann
75bccfeec7
Add dependencies for plugin 2022-12-20 17:51:55 +01:00
Marcus Blättermann
a4925083d4
Update plugin for wrapping sections 2022-12-20 17:51:55 +01:00
Marcus Blättermann
b65e29595a
Move and rename plugins 2022-12-20 17:51:55 +01:00
Marcus Blättermann
aea5496788
Add ability to load plugins 2022-12-20 17:46:32 +01:00