github withastro/astro @astrojs/markdown-component@0.2.0

latest releases: astro@5.0.0-beta.8, astro@4.16.12, astro@4.16.11...
2 years ago

Minor Changes

  • #4016 00fab4ce1 Thanks @bholmesdev! - The use of components and JSX expressions in Markdown are no longer supported by default.

    For long term support, migrate to the @astrojs/mdx integration for MDX support (including .mdx pages!).

    Not ready to migrate to MDX? Add the legacy flag to your Astro config to re-enable the previous Markdown support.

    // https://astro.build/config
    export default defineConfig({
      legacy: {
        astroFlavoredMarkdown: true,
      },
    });
  • #3986 bccd88f0e Thanks @matthewp! - Move the Markdown component to its own package

    This change moves the Markdown component into its own package where it will be maintained separately. All that needs to change from a user's perspective is the import statement:

    ---
    import { Markdown } from 'astro/components';
    ---

    Becomes:

    ---
    import Markdown from '@astrojs/markdown-component';
    ---

Don't miss a new astro release

NewReleases is sending notifications on new releases.