summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-03-12Add `experimental.headingIdCompat` flag (#13352)Gravatar Chris Swithinbank 2-0/+44
* Add `experimental.headingIdCompat` option schema & types * Markdown and MDX support * Markdoc support * Add changeset * Fix missing argument in Markdoc integration * Improve JSDoc comment Co-authored-by: Matt Kane <m@mk.gg> * Refactor to avoid global context object in Markdoc * Minor changeset tweak * Make `rehypeHeadingIds()` argument optional for backwards compatibility * Add doc comment to `rehypeHeadingIds()` * Document rehype plugin usage in changeset --------- Co-authored-by: Matt Kane <m@mk.gg>
2025-03-04fix(deps): update all non-major dependencies (#13346)Gravatar renovate[bot] 1-1/+1
* fix(deps): update all non-major dependencies * chore: fix type issue --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-01-13Fix component render in markdoc when `nodes.document.render` is `null` (#12967)Gravatar Bjorn Lu 4-4/+18
2025-01-13fix(deps): update all non-major dependencies (#12579)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09Fix markdoc render code block in if tag (#12930)Gravatar Bjorn Lu 5-0/+49
2025-01-08fix: conditionally import image style (#12925)Gravatar Matt Kane 1-6/+6
* fix: conditionally import image style * Use wrapper component for conditional style import * changeset * Add tests * Fix tests * Update markdoc tests * Lint
2024-12-02fix(markdoc): correctly render boolean HTML attributes (#12584)Gravatar Matt Kane 2-0/+9
2024-11-27Merge branch 'main' into nextGravatar Emanuele Stoppa 1-1/+1
2024-11-27fix(deps): update all non-major dependencies (#12410)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-15feat: experimental responsive images (#12377)Gravatar Matt Kane 2-8/+8
* chore: changeset * feat: add experimental responsive images config option (#12378) * feat: add experimental responsive images config option * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update config types * Move config into `images` * Move jsdocs --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * feat: add responsive image component (#12381) * feat: add experimental responsive images config option * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update config types * Move config into `images` * Move jsdocs * wip: responsive image component * Improve srcset logic * Improve fixture * Lock * Update styling * Fix style prop handling * Update test (there's an extra style for images now) * Safely access the src props * Remove unused export * Handle priority images * Consolidate styles * Update tests * Comment * Refactor srcset * Avoid dupes of original image * Calculate missing dimensions * Bugfixes * Add tests * Fix test * Correct order * Lint * Fix fspath * Update test * Fix test * Conditional component per flag * Fix class concatenation * Remove logger * Rename helper * Add comments * Format * Fix markdoc tests * Add test for style tag --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * feat: add crop support to image services (#12414) * wip: add crop support to image services * Add tests * Strip crop attributes * Don't upscale * Format * Get build working properly * Changes from review * Fix jsdoc * feat: add responsive support to picture component (#12423) * feat: add responsive support to picture component * Add picture tests * Fix test * Implement own define vars * Share logic * Prevent extra astro-* class * Use dataset scoping * Revert unit test * Revert "Fix test" This reverts commit f9ec6e2938ff291037234d56f8eec76a93be0c0d. * Changes from review * docs: add docs for responsive images (#12429) * docs: add responsive images flag docs * docs: adds jsdoc for image components * chore: updates from review * Fix jsdoc * Changes from review * Add breakpoints option * typo --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-15Merge branch 'main' into nextGravatar bluwy 1-1/+1
2024-10-15fix(deps): update all non-major dependencies (#12218)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-07Merge branch 'main' into nextGravatar Princesseuh 1-1/+1
2024-10-07fix(deps): update all non-major dependencies (#12140)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04Implement legacy collections using glob (#11976)Gravatar Matt Kane 14-2/+104
* feat: support pattern arrays with glob * wip * feat: emulate legacy content collections * Fixes * Lint * Correctly handle legacy data * Fix tests * Switch flag handling * Fix warnings * Add layout warning * Update fixtures * More tests! * Handle empty md files * Lockfile * Dedupe name * Handle data ID unslug * Fix e2e * Clean build * Clean builds in tests * Test fixes * Fix test * Fix typegen * Fix tests * Fixture updates * Test updates * Update changeset * Test * Remove wait in test * Handle race condition * Lock * chore: changes from review * Handle folders without config * lint * Fix test * Update wording for auto-collections * Delete legacyId * Sort another fixture * Rename flag to `legacy.collections` * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Changes from review * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * lockfile * lock --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-01Merge branch 'main' into nextGravatar bluwy 1-1/+1
2024-09-26Parse frontmatter ourselves (#12075)Gravatar Bjorn Lu 1-3/+3
2024-09-26fix(deps): update all non-major dependencies (#12003)feat/action-on-resultGravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-11feat(next): reference astro/client from astro/config (#11925)Gravatar Florian Lefebvre 2-2/+2
2024-09-03feat(next): better tsconfig (#11859)Gravatar Florian Lefebvre 2-2/+6
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-27fix(markdoc): use astro components defined with `extends` (#11846)Gravatar HiDeoo 8-0/+160
2024-08-19fix(deps): update all non-major dependencies (#11765)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08update formatter config (#11640)Gravatar Darius 4-7/+7
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-07-31fix(deps): update all non-major dependencies (#11565)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17[ci] formatGravatar Fugi 1-1/+1
2024-07-17feat(markdoc): Support markdown-it's typographer option (#11450)Gravatar Peter Schilling 5-0/+64
* Support markdoc-it's typographer option in markdoc * Update .changeset/forty-scissors-jog.md [skip ci] * Update .changeset/forty-scissors-jog.md [skip ci] * Fix typo in changeset --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-07-01fix(deps): update all non-major dependencies (#11383)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-30fix(deps): update all non-major dependencies (#11151)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-09chore(deps): update all non-major dependencies (#10958)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-01Fix typos (#10923)Gravatar Viktor Szépe 1-1/+1
2024-04-17[ci] formatGravatar Emanuele Stoppa 6-6/+6
2024-04-03[ci] formatGravatar Ben Holmes 3-3/+3
2024-04-03feat: automatic Markdoc partial resolution (#10649)Gravatar Ben Holmes 23-70/+313
* wip: react counter example * feat: resolve markdoc partials by file path * test: components within partials * test: html within partial * chore: changeset * fix: respect user configured partials * test: basic partials * chore: lock * chore: fix lock * chore: minor -> patch * fix: use --parallel for dev server timeout error * refactor: move component tests to separate file * fix: build indent fixture * fix: check before addWatchFile * refactor: rootRelative -> relativePartial * deps: use workspace react integration * refactor: split test files by fixture * refactor: switch to preact to avoid react prod build error * feat: use vite pluginContext * fix: handle missing ./ * chore: bump timeout
2024-04-01Lazy loaded shiki languages during syntax highlighting (#10618)Gravatar James Garbutt 1-4/+4
2024-03-13Revert "[ci] format" (#10417)Gravatar Emanuele Stoppa 6-6/+6
* Revert "[ci] format" This reverts commit 1863727215e87e20c6f5aebe5f9ee0f2783bc788. * pin dependency * update lock
2024-03-13[ci] formatGravatar Houston (Bot) 6-6/+6
2024-02-22chore: import sorting for test folder and e2e folder (#10190)Gravatar Emanuele Stoppa 19-19/+19
2024-02-21chore: use biome to sort imports - only test files (#10180)Gravatar Emanuele Stoppa 8-20/+20
* chore: use biome to sort imports * do the sorting * Update package.json Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-08feat(markdoc): Add support for using a custom component for images (#9958)Gravatar Erika 4-0/+48
* feat(markdoc): Add support for using a custom component for images * chore: changeset * test: add test * Update .changeset/shaggy-spies-sit.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-31chore(@astrojs/markdoc): use Node.js for testing (#9897)Gravatar ktym4a 8-178/+180
2024-01-25Fix: update doc links (#9804)Gravatar Jacob Lamb 2-2/+2
* Fix: update doc links * More links * Remove docs line
2023-11-27Remove support for simple objects in endpoints (#9181)Gravatar Bjorn Lu 2-6/+2
* 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-28Remove deprecated features from Astro 3.0 (#9168)Gravatar Bjorn Lu 2-2/+2
2023-10-27Fix: Markdoc Integration build when root folder contains spaces (#8759)Gravatar Luca Di Gianventura 5-0/+74
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-10-24[ci] formatGravatar ematipico 1-1/+0
2023-10-24feat(markdoc): allowIndentation integration option (#8802)Gravatar AndyClifford 8-0/+140
2023-10-12Use shikiji (#8502)Gravatar Bjorn Lu 1-3/+0
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-22nit: optimize images (#8629)Gravatar Erika 2-0/+0
2023-08-23Update non-major dependencies (#8199)Gravatar Bjorn Lu 1-1/+1
2023-08-18Switch `build.inlineStylesheets` default to auto (#8118)Gravatar Arsh 1-0/+2
* switch inlineStylesheets default * use previous default for astro/test * use previous default for content-collections-render.test.js * integrations: node, deno, mdx, markdown * typedocs: switch inlineStylesheets default * Update example to show non-default * add changeset * reword changeset --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>