Ben Holmes

Results 105 comments of Ben Holmes

Thanks for reporting @danilopolani! Yes, this is definitely a problem in our documentation. We suggest accessing `headings` as a top-level prop from your layout like so: ```astro --- // src/layouts/BaseLayout.astro...

@duncanwerner Ah, good to know! Yes, feel free to open a PR. We are updating the docs to reflect this new `headings` object as well (https://github.com/withastro/docs/pull/1246). Let me know if...

@danilopolani Working on a PR to align MDX with MD! To confirm, [this is the 100% finalized API](https://docs.astro.build/en/guides/markdown-content/#markdown-layout-props) we are mirroring. There are some subtle changes: > content - all...

@duncanwerner Checking if you're still interested in an `examples/docs` PR! I plan to tackle this change by tomorrow if not, no worries :)

So to confirm everything here: - Today, you can access headings from MD and MDX using `Astro.props.headings`. Update to `astro@latest` and `@astrojs/mdx@latest` if that isn't the case! - We should...

@ChristianK43 @djmtype Looks like this _may_ be resolved in the latest version of Astro (`1.0.9`) and MDX (`0.10.1`)! I have a working demo over here with that `Dummy` component you...

@Bobakanoosh glad to hear it! I'll close this thread first thing tomorrow if I don't see any follow-ups.

Closing! I'll reopen if anything is discovered. Thanks y'all 🙏

Thanks for reporting! I took a look at your example, but I'm not seeing any bad network requests or other errors in the console. Are there any logs in particular...

Yep, I've noticed this as well! Definitely confusing to debug. Hoping it's a duplicate sourcemap we're merging somewhere up the chanin.