2.1.0 • Published 10 months ago

mdxts v2.1.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
10 months ago

Features

  • 📝 Quickly start authoring MDX
  • ✅ Type-check content
  • 📘 Generate type documentation
  • 📊 Gather module metadata
  • 🖼️ Preview source code examples
  • 📁 Generate file-based routes
  • 🌈 Accurately highlight code blocks

Getting Started

Using MDXTS in Next.js is currently the easiest way to get started. Follow the manual setup or use the CLI in a Next.js project to automate the plugin configuration:

npm create mdxts

After installing the package and required dependencies, you can start creating content or documentation using MDX. Simply render MDX as pages or use the createSource function to create a source for rendering a collection of MDX files:

import { createSource } from 'mdxts'

const posts = createSource('docs/*.mdx')

export default async function Page({ params }) {
  const { Content } = await posts.get(params.slug)
  return <Content />
}

Visit the Getting Started guide to view the full documentation and learn more about the features and capabilities of MDXTS.

License

AGPLv3 © souporserious

1.8.0

10 months ago

2.0.1

10 months ago

2.0.0

10 months ago

2.1.0

10 months ago

1.2.0

1 year ago

1.6.4

10 months ago

1.6.3

10 months ago

1.6.2

11 months ago

1.6.1

11 months ago

1.6.0

11 months ago

1.4.0

1 year ago

1.1.0

1 year ago

1.7.1

10 months ago

1.7.0

10 months ago

1.5.0

1 year ago

1.3.0

1 year ago

1.0.0

1 year ago

0.19.0

1 year ago

0.18.0

1 year ago

0.17.0

1 year ago

0.16.0

1 year ago

0.15.1

1 year ago

0.15.2

1 year ago

0.15.3

1 year ago

0.15.0

1 year ago

0.14.0

1 year ago

0.13.0

1 year ago

0.12.1

1 year ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.1

1 year ago

0.10.0

1 year ago

0.9.1

1 year ago

0.9.0

1 year ago

0.8.1

1 year ago

0.8.2

1 year ago

0.8.0

1 year ago

0.6.2

1 year ago

0.7.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.0.0

3 years ago