summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/syntax-highlighting.test.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-08-08update formatter config (#11640)Gravatar Darius 1-2/+2
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-04-01Lazy loaded shiki languages during syntax highlighting (#10618)Gravatar James Garbutt 1-4/+4
2024-02-21chore: use biome to sort imports - only test files (#10180)Gravatar Emanuele Stoppa 1-5/+5
* 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-01-31chore(@astrojs/markdoc): use Node.js for testing (#9897)Gravatar ktym4a 1-19/+20
2023-05-25Markdoc - improve syntax highlighting support (#7209)Gravatar Ben Holmes 1-44/+69
* feat: prism and shiki support, with better exports! * chore: update tests * chore: fix lock * chore: add prism test * chore: remove `async` from prism * docs: update syntax highlight readme * chore: changeset * edit: remove `await` from prism docs * chore: update old changest with new shiki instructions * fix: add trailing newline on ts-expect-error * refactor: resolve promises internally * docs: remove `await` from shiki examples
2023-05-24Markdoc - Shiki (#7187)Gravatar Ben Holmes 1-0/+89
* chore: remove unused util * chore: changeset * deps: shiki * wip: first stab at shiki markdoc config * feat: get shiki working! * refactor: return HTML string directly from transform * chore: move shiki to markdoc dev dep * refactor: use async cache with clear docs on why * test: transform units with Shiki config options * refactor: switch to `extends` model * refactor: nodes/ -> extensions/ * feat: raise friendly error for Promise extensions * docs: README * chore: lint * chore: dead file * chore: lowercase for fuzzy find please * fix: bad ctx spread * chore: clean up cache, add shiki imp error * chore: add shiki to optional peer deps * chore: hoist those consts * docs: more explicit "install shiki now please" Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * oops bad find and replace * chore: update changeset * nit: period haunts me --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>