summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/render.test.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-01-13Fix component render in markdoc when `nodes.document.render` is `null` (#12967)Gravatar Bjorn Lu 1-0/+2
2024-07-17[ci] formatGravatar Fugi 1-1/+1
2024-07-17feat(markdoc): Support markdown-it's typographer option (#11450)Gravatar Peter Schilling 1-0/+22
* 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-04-03feat: automatic Markdoc partial resolution (#10649)Gravatar Ben Holmes 1-66/+19
* 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-02-21chore: use biome to sort imports - only test files (#10180)Gravatar Emanuele Stoppa 1-2/+2
* 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-24/+23
2023-10-27Fix: Markdoc Integration build when root folder contains spaces (#8759)Gravatar Luca Di Gianventura 1-0/+32
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 1-0/+42
2023-05-03Upgrade shiki to v0.14.1 (#6932)Gravatar Bjorn Lu 1-1/+1
* Upgrade shiki * Update themes * Update languages * Simplify * Fix compat for other remark code * Update theme again * Fix language gen * Add changeset * Fix code * Update test theme colors * Update changeset * Fix test again
2023-04-03[Markdoc] Fix: Support `render: null` (#6723)Gravatar Ben Holmes 1-54/+80
* fix: handle array of tree nodes * test: render null in document node * chore: lock * refactor: consolidate render test logic * chore: changeset
2023-03-27[Markdoc] New config format with runtime variable support! (#6653)Gravatar Ben Holmes 1-0/+124
* deps: esbuild * feat: support direct component imports for render! * deps: add devalue back * refactor: remove unused components prop * refactor: load experimental assets config separately * fix: upate Content type def to support props * refactor: replace astro stub with inline data * feat: pass through viteId to getRenderMod * fix: add back $entry var with defaults convention * chore: remove unneeded validateRenderProps * chore: remove uneeded validateComponents * fix: remove userMarkdocConfig prop * chore: add helpful error for legacy config * deps: kleur * fix: add back `isCapitalized` * fix: log instead of throw to avoid scary stacktrace * chore: delete more old logic (nice) * chore: delete MORE unused utils * chore: comment on separate assets config * chore: remove console.log * chore: general code cleanup * test: new render config * docs: new README * fix: add expect-error on astro:assets * feat: add defineMarkdocConfig helper * docs: update example README * test: add runtime variable * chore: lint * chore: changeset * chore: add component import deletion * docs: add notes on Vite fork * fix: astro check * chore: add `.mts` to markdoc config formats