* feat: add shiki option for default color
* feat: propagate shiki option for default color to astro config
* feat: add tests for default color
* chore: add change set
* fix: add complete type to shiki default color config
* fix: remove unneeded heavy shiki theme from fixture
* fix: add literals to schema validation
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/cold-crabs-arrive.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* feat: improve changeset
* grammar tweak
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* 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>
* pass hProperties to getImage for optimized imgs
* fix to allow multiple images to have hProps added
* update test to reflect new expected result
* add comment back in
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* add srcset
* works on multiple images
* fix tests, fix images.ts type and remove console logs
* add warning back to images.ts again lol
* update changeset to be user oriented
* Update calm-socks-shake.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* pass alt through getImage
* added fixture and test
* update lockfile
* fix lockfile again (had installed an extra package during testing and had sharp33 installed)
* update test to reflect passing alt through getImage
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* refactor: remove experimental.cc from core
* chore: remove experimental flag from tests
* fix: mock contentDir in remark tests
* fix: check vfile.path in rel-image-error plugin
* fix: move .astro/ excludes to all test/fixtures
* fix: include test/**/fixtures in ignore
* chore: changeset
* refactor: add legacy.jsxInMarkdown flag to config
* refactor: jsxInMarkdown -> astroFlavoredMarkdown
* refactor: remove `markdown.mode`
* feat: wire up legacy.astroFlavoredMarkdown
* test: add legacy to astro-markdown fixture
* test: remark autolinking
* test: remark components
* test: remark expressions
* test: remark strictness
* chore: remove "mode" from md component
* chore: remove "mode: md" from tests
* Fixing legacy MD tests, adding named slots tests for MDX pages
* chore: update lock file
* WIP: debugging named slots in MDX
* fix: handle named slots in MDX properly
* chore: re-enabling slots tests for MDX pages
* fixing test validation for svelte & vue
* removing unused Tailwind test
* legacy flag for Markdown component tests
* adding is:raw to Markdown component test
* adding is:raw to all Markdown component test fixtures
* can't use is:raw when nesting markdown components
* another nested test can't use is:raw
* one more <Markdown> test fix
* fixing another JSX markdown component test
* chore: add changeset
* e2e tests were missing the legacy flag
* removing the broken tailwind E2E markdown page
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Nate Moore <nate@astro.build>
* fixed header slugs in markdown if ends with a dash
* added changeset
* removes trailing dash only if slug was created
* updated test
* updated change level from patch to minor
* fixed header slugs in markdown if ends with a dash
* added changeset
* removes trailing dash only if slug was created
* updated test
* updated change level from patch to minor
* chore: fix typo in remark tests
* test: add test cases for markdown expressions in header
* fix: avoid evaluating JSX-like expressions inside inline code in heading
* fix: generate slug for id including values in backtick blocks