Commit graph

5243 commits

Author SHA1 Message Date
bholmesdev
a3d95390b4 fix: broke extendMarkdownConfig, oops! 2023-03-06 11:58:24 -05:00
bholmesdev
5fce7a2819 fix: type error in mdx defaults 2023-03-06 11:47:00 -05:00
bholmesdev
4226b03579 refactor: add type defs for private integration hooks 2023-03-06 10:31:12 -05:00
bholmesdev
e467e485cf nit: remove any from mdx 2023-03-06 10:11:43 -05:00
bholmesdev
1de419034d nit: move shiki highlighter consts to outer scope 2023-03-06 10:11:43 -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
331ebd42f8 fix: smartypants should be avoided in benchmark! 2023-03-06 10:11:43 -05:00
bholmesdev
dda8cf154d nit: tested if 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
bholmesdev
af5a2a0a4e nit: remove IFFE 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
64adb449e6 chore: clarify semi-private hooks 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
f67a9c1d8e chore: remove revealSecret from ex 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
dcd4ed138b chore: update DocsContent comments 2023-03-06 10:11:42 -05:00
bholmesdev
64948f6993 chore: update example coding challenge 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
afdba11159 chore: hand mjs highlighting in error overlay 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
246a1f81d6 docs: add "exclusively" to README 2023-03-06 10:11:41 -05:00