Commit graph

82 commits

Author SHA1 Message Date
bholmesdev
4226b03579 refactor: add type defs for private integration hooks 2023-03-06 10:31:12 -05:00
bholmesdev
aec7a0931f nit: remove unused return 2023-03-06 10:11:43 -05:00
bholmesdev
7eddf996e3 fix: move validateComponents to render comp 2023-03-06 10:11:43 -05:00
bholmesdev
aff11bbdfd nit: extract component zod obj 2023-03-06 10:11:43 -05:00
bholmesdev
7ea9414a3b nit: remove any 2023-03-06 10:11:43 -05:00
bholmesdev
45fac9922d nit: attempt pathToFileURL 2023-03-06 10:11:43 -05:00
bholmesdev
bd7f25de2f chore: remove accidental changelog 2023-03-06 10:11:43 -05:00
Ben Holmes
d19848c7f4 docs: :::
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06 10:11:43 -05:00
Ben Holmes
74f019ce03 nit: don't capitalize cc
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06 10:11:42 -05:00
Ben Holmes
8806c576d6 docs: with-mdx -> with-markdoc
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06 10:11:42 -05:00
bholmesdev
90f494f23d chore: ignore statements 2023-03-06 10:11:42 -05:00
bholmesdev
a8e71cfaf7 chore: lint 2023-03-06 10:11:42 -05:00
bholmesdev
08a9446744 fix: forward slash. 2023-03-06 10:11:42 -05:00
bholmesdev
cbcfcf78ae wip: forward slash?? 2023-03-06 10:11:42 -05:00
bholmesdev
60c3de4ab4 fix: potentially unreliable cache 2023-03-06 10:11:42 -05:00
bholmesdev
1b473e5433 fix: cant find zod for some reason 2023-03-06 10:11:42 -05:00
bholmesdev
9125932f4b docs: add editor integration 2023-03-06 10:11:42 -05:00
bholmesdev
940053b740 docs: clarify Markdoc attributes 2023-03-06 10:11:42 -05:00
bholmesdev
8470a3eecc chore: update to nodes rec 2023-03-06 10:11:42 -05:00
bholmesdev
80919b39f3 docs: reshuffle note 2023-03-06 10:11:42 -05:00
bholmesdev
ed7c636705 chore: clarify Markdoc config 2023-03-06 10:11:42 -05:00
bholmesdev
5e755158d5 test: update Markdoc node config test 2023-03-06 10:11:42 -05:00
bholmesdev
76cc6a1212 chore: use error hint 2023-03-06 10:11:42 -05:00
bholmesdev
c876d3fee3 fix: handle possible cache miss 2023-03-06 10:11:42 -05:00
bholmesdev
6217b7a1a1 refactor: use MarkdocError on render errors 2023-03-06 10:11:42 -05:00
bholmesdev
041f606343 chore: validate tags and nodes 2023-03-06 10:11:42 -05:00
bholmesdev
e82006066f chore: raise error if no matching component found 2023-03-06 10:11:42 -05:00
bholmesdev
781ff28abe chore: check components are capitalized names 2023-03-06 10:11:42 -05:00
bholmesdev
9d2b3ca03b deps: zod 2023-03-06 10:11:41 -05:00
bholmesdev
6fb8a60f49 fix: indentation 2023-03-06 10:11:41 -05:00
bholmesdev
b55a2c93b1 fix: inconsistent tabs v spaces 2023-03-06 10:11:41 -05:00
bholmesdev
253ea68505 docs: add separate HTML and component examples 2023-03-06 10:11:41 -05:00
bholmesdev
63483d5689 nit: add "today" to imply future support 2023-03-06 10:11:41 -05:00
bholmesdev
fc30be6e15 edit: add client component instructions 2023-03-06 10:11:41 -05:00
bholmesdev
2c5d2eb280 docs: astro-ui-frameworks -> astro-components 2023-03-06 10:11:41 -05:00
bholmesdev
aff5a67059 docs: update config to new Markdoc options 2023-03-06 10:11:41 -05:00
bholmesdev
eeaa3deb82 docs: query for -> query your collection 2023-03-06 10:11:41 -05:00
bholmesdev
4186664db0 test: update fixture to match new config 2023-03-06 10:11:41 -05:00
bholmesdev
95dab5393b refactor: remove advanced component API 2023-03-06 10:11:41 -05:00
bholmesdev
5966a9f5e1 refactor: remove Markdoc export 2023-03-06 10:11:41 -05:00
bholmesdev
0ff5274fe1 chore: use Markdoc terms for transform 2023-03-06 10:11:41 -05:00
Ben Holmes
4df2fceaf8 docs: only used in content collections
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06 10:11:41 -05:00
bholmesdev
7d9eb01c8c refactor: move markdoc transform to build time 2023-03-06 10:11:41 -05:00
bholmesdev
c16e79616a Revert "feat: support .md overrides for content collections"
This reverts commit c06f83ef85.
2023-03-06 10:11:18 -05:00
bholmesdev
3db67a2187 feat: generate .md types override 2023-03-06 10:11:18 -05:00
bholmesdev
a47e1b7709 feat: support .md overrides for content collections 2023-03-06 10:11:18 -05:00
bholmesdev
7331ce6350 deps: remove html-escaper 2023-03-06 10:11:18 -05:00
bholmesdev
9f0d50d55c fix: remove unneeded html-escaper 2023-03-06 10:11:18 -05:00
bholmesdev
702ca067d4 fix: type inferencing in preview 2023-03-06 10:11:18 -05:00
bholmesdev
785bd200c7 fix: import types from @astrojs/markdoc 2023-03-06 10:11:17 -05:00