Skip to content

Conversation

@astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented Jun 27, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@astrojs/markdoc@0.4.0

Minor Changes

  • #7468 fb7af5511 Thanks @bholmesdev! - Updates the Markdoc config object for rendering Astro components as tags or nodes. Rather than importing components directly, Astro includes a new component() function to specify your component path. This unlocks using Astro components from npm packages and .ts files.

    Migration

    Update all component imports to instead import the new component() function and use it to render your Astro components:

    // markdoc.config.mjs
    import {
      defineMarkdocConfig,
    + component,
    } from '@astrojs/markdoc/config';
    - import Aside from './src/components/Aside.astro';
    
    export default defineMarkdocConfig({
      tags: {
        aside: {
          render: Aside,
    +     render: component('./src/components/Aside.astro'),
        }
      }
    });

Patch Changes

astro@2.7.2

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch from 1d1eb4b to 00ce14c Compare June 27, 2023 13:19
@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) labels Jun 27, 2023
@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 9f5d9eb to 5ce3e77 Compare June 27, 2023 15:18
@github-actions github-actions bot requested a review from a team as a code owner June 27, 2023 15:18
@github-actions github-actions bot force-pushed the changeset-release/main branch 9 times, most recently from 89bad39 to 8503968 Compare June 28, 2023 19:50
@github-actions github-actions bot force-pushed the changeset-release/main branch from 8503968 to 6e4b896 Compare June 28, 2023 19:54
@bluwy bluwy merged commit 56f1b12 into main Jun 29, 2023
@bluwy bluwy deleted the changeset-release/main branch June 29, 2023 09:14
matthewp pushed a commit that referenced this pull request Jul 11, 2023
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico pushed a commit that referenced this pull request Feb 5, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico pushed a commit that referenced this pull request Feb 5, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico pushed a commit that referenced this pull request Feb 6, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico pushed a commit that referenced this pull request Feb 6, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ematipico pushed a commit that referenced this pull request Feb 7, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants