summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/entry-prop.test.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 1-58/+0
* refactor: remove entry prop from `getRenderModule()` * refactor: remove `$entry` from markdoc * test: update entry-prop -> variables test * refactor: unify `getEntryConfigByExt` * chore: clean up shared content / data get logic * docs: update `$entry` recommendation * chore: rename entry-prop -> variables * chore: changeset * chore: missed a spot
2023-03-21feat: Expose `$entry` variable to Markdoc (#6588)Gravatar Ben Holmes 1-0/+58
* wip: dream api * deps: rollup types * feat: get entry data in there * fix: properly show mdoc errors in overlay * feat: implement with cache * fix: wait for in-flight entry resolution * test: entry properties can be rendered * chore: changeset * fix: remove rollup type import * Revert "deps: rollup types" This reverts commit 484ccb1c81fcf35e19c2b22289a3fe6b735a8135. * docs: add README reference * docs nit: missing space Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> * refactor: split config config loading to separate helper * refactor: choose more readable variable names * refactor: store awaiting queue in existing cache * docs: add clear code comments * nit: add skip module code comment * refactor: add `idHandledByContentRenderPlugin` * nit: store chokidar modified events in const * fix: remove loop from content renderer * nit: else if -> if --------- Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>