Bjorn Lu
|
cdabf6ef02
|
Remove support for simple objects in endpoints (#9181)
* Deprecate simple object from endpoints
* Update changeset
* Add missing Response return
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* Update .changeset/clever-beds-notice.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
|
2023-11-27 12:51:57 -05:00 |
|
Bjorn Lu
|
153a5abb90
|
Remove deprecated features from Astro 3.0 (#9168)
|
2023-11-28 00:44:20 +08:00 |
|
HiDeoo
|
7abb1e9056
|
Fix MDX heading IDs generation when using a frontmatter reference (#5978)
* Fix MDX heading IDs generation when using a frontmatter reference
* Hoist safelyGetAstroData() call and add statement null check
|
2023-01-26 12:52:50 -05:00 |
|
Ben Holmes
|
40ef43a59b
|
[MDX] Add getHeadings + generate anchor links (#4095)
* deps: mdx github-slugger
* feat: add getHeadings via rehype plugin
* chore: stray console.log
* test: getHeadings w/ & w/0 JSX expressions
* docs: add generated exports
* refactor: pass headings using vfile.data
* deps: vfile
* test: heading anchor IDs
* docs: add collect-headings to default rehype plugins
* chore: changeset
* deps: estree-util-value-to-estree
* refactor: inject getHeadings export the right way!
* deps: switch to acorn
* refactor: just use acorn
* docs: `getHeadings` info structuring
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* docs: clarify `url` example
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* fix: move slugger inside plugin call
* refactor: cleanup code reassignment
* chore: lint
* deps: mdast-util-mdx, test utils
* refactor: add jsToTreeNode util
* feat: expose utils for lib authors
* test: rehype plugins w/ and w/o extends
* test: fixture
* refactor: remove utils from package exports
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
|
2022-08-01 17:23:56 -04:00 |
|