Commit graph

5260 commits

Author SHA1 Message Date
bholmesdev
eac40e3494 docs: redraft markdoc runtime config intro 2023-03-07 12:24:23 -05:00
bholmesdev
d83181db09 docs: update component key naming and node instr 2023-03-07 12:22:01 -05:00
bholmesdev
773814be38 chore: update TODO docs links 2023-03-07 12:16:55 -05:00
bholmesdev
3e997837bb chore: bump to minor changesets for MDX 2023-03-07 12:12:03 -05:00
bholmesdev
ad2069112a chore: add numPosts as a benchmark flag 2023-03-07 11:57:24 -05:00
bholmesdev
06a0e2f502 docs: "see the next section" 2023-03-06 15:35:46 -05:00
bholmesdev
739789fd69 Merge branch 'markdoc-poc' of github.com:withastro/astro into markdoc-poc 2023-03-06 15:32:23 -05:00
bholmesdev
0c09c587c9 docs: reorder configuration options 2023-03-06 15:32:14 -05:00
Ben Holmes
47528db5b7
Update examples/with-markdoc/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06 14:27:04 -05:00
bholmesdev
17c0a9df8b docs: add manual rendering instructions 2023-03-06 14:15:34 -05:00
bholmesdev
28f09599ed docs: update config example in README 2023-03-06 14:01:07 -05:00
bholmesdev
4acb7491c9 docs: add usage to changeset 2023-03-06 13:19:22 -05:00
bholmesdev
80485d690d chore: delete more sneaky types 2023-03-06 13:18:42 -05:00
bholmesdev
d1d4cc5211 fix: migrate mdoc perf benchmark to new config 2023-03-06 13:02:43 -05:00
bholmesdev
9488ec7c9a fix: remove types from git 2023-03-06 13:02:18 -05:00
bholmesdev
73af50ba20 fix: only validate when components is defined 2023-03-06 12:38:34 -05:00
bholmesdev
6e8ba96da9 Revert "nit: attempt pathToFileURL"
This reverts commit 45fac9922d.
2023-03-06 12:11:07 -05:00
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