Commit graph

5140 commits

Author SHA1 Message Date
bholmesdev
870b5e1834 docs: add usage and examples to Markdoc README 2023-03-03 08:39:41 -05:00
bholmesdev
e6dd75910f fix: line endings in test 2023-03-03 08:39:41 -05:00
bholmesdev
fc7f50cecc docs: @astrojs/markdoc README intro 2023-03-03 08:39:41 -05:00
bholmesdev
9365aadc3b docs: update example README 2023-03-03 08:39:41 -05:00
bholmesdev
af4ea22836 chore: remove markdoc.config loader 2023-03-03 08:39:41 -05:00
bholmesdev
bdcc67fc37 chore: remove unused fixture dep 2023-03-03 08:39:40 -05:00
bholmesdev
047a52c1bd fix: glob for single content extension 2023-03-03 08:39:40 -05:00
bholmesdev
03525734ac chore: remove unused deps 2023-03-03 08:39:40 -05:00
bholmesdev
12cdbcd967 chore: unused style tag 2023-03-03 08:39:40 -05:00
bholmesdev
fbe100a70e chore: clean up Markdoc starter to essentials 2023-03-03 08:39:40 -05:00
bholmesdev
f6cf48a806 feat: content prop types for markdoc! 2023-03-03 08:39:40 -05:00
bholmesdev
3a2a829236 feat: allow Render type injection 2023-03-03 08:39:40 -05:00
bholmesdev
7cc28032c2 chore: unused file 2023-03-03 08:39:40 -05:00
bholmesdev
5371403734 chore: with-markdoc strictNullChecks 2023-03-03 08:39:40 -05:00
bholmesdev
f9bd8125fb play: add docs example with Aside and Since ported 2023-03-03 08:39:40 -05:00
bholmesdev
f3e23ddf47 chore: remove unused options object 2023-03-03 08:39:40 -05:00
bholmesdev
a89453c335 chore: remove content-types. Too early! 2023-03-03 08:39:40 -05:00
bholmesdev
f72d03c62e fix: ContentEntryType import 2023-03-03 08:39:40 -05:00
bholmesdev
50fea0b7ae chore: Markdoc working! log 2023-03-03 08:39:40 -05:00
bholmesdev
f3bdf9e0f4 test: content component dev and build 2023-03-03 08:39:40 -05:00
bholmesdev
4312d6df11 test: prod builds 2023-03-03 08:39:40 -05:00
bholmesdev
b53b3ba84f fix: stop bundling markdoc for isTag 2023-03-03 08:39:40 -05:00
bholmesdev
9c5d41959d fix: avoid import if no config present (prod build error) 2023-03-03 08:39:40 -05:00
bholmesdev
a6cbf7b7e1 chore: ignore .astro type error 2023-03-03 08:39:40 -05:00
bholmesdev
624c851e58 fix: remove "components" from tsconfig 2023-03-03 08:39:40 -05:00
bholmesdev
ff611250d9 deps: add shiki for Code comp error 2023-03-03 08:39:39 -05:00
bholmesdev
319d5945c2 play: make sure md also works 2023-03-03 08:39:38 -05:00
bholmesdev
328bfdc50f test: entry and collections parse 2023-03-03 08:39:38 -05:00
bholmesdev
0f13ea26e5 deps: devalue, test fixture 2023-03-03 08:39:38 -05:00
bholmesdev
24cabf10f0 chore: remove unused dream file 2023-03-03 08:39:37 -05:00
bholmesdev
57b36498fd refactor: remove fallback loader 2023-03-03 08:39:37 -05:00
bholmesdev
8beb9680cb fix: markdoc.config loading 2023-03-03 08:39:37 -05:00
bholmesdev
677ed58456 oops, forgot to commit untracked 2023-03-03 08:39:37 -05:00
bholmesdev
49d9972e88 refactor: pass file contents 2023-03-03 08:39:37 -05:00
bholmesdev
61723b5269 refactor: move plain md to content entry type 2023-03-03 08:39:37 -05:00
bholmesdev
85e49304c7 wip: move mdx to collection type API 2023-03-03 08:39:37 -05:00
bholmesdev
8818f58b72 deps: mdx 2023-03-03 08:39:37 -05:00
bholmesdev
8690c522cf wip: scaffold content types 2023-03-03 08:39:37 -05:00
bholmesdev
abe1d40ba8 feat: move Renderer to markdoc, get Content component! 2023-03-03 08:39:37 -05:00
bholmesdev
a15c2fbd97 deps: move to @astrojs/markdoc 2023-03-03 08:39:37 -05:00
bholmesdev
9f589a9c4b feat: addContentEntryType integration hook 2023-03-03 08:39:37 -05:00
bholmesdev
4347ac3fef deps: graymatter 2023-03-03 08:39:37 -05:00
bholmesdev
3238a55c6a chore: unit tests 2023-03-03 08:39:37 -05:00
bholmesdev
80dd10cbe3 wip: get dream API for file loader working 2023-03-03 08:39:37 -05:00
bholmesdev
7d0a6b8042 wip: play with separate markdoc config 2023-03-03 08:39:37 -05:00
bholmesdev
fa52eb4844 fix: render attributes to html 2023-03-03 08:39:37 -05:00
bholmesdev
5b1492eb82 deps: stringify-attributes 2023-03-03 08:39:37 -05:00
bholmesdev
e141dc9da9 fix: component render bug 2023-03-03 08:39:37 -05:00
bholmesdev
a6920f2705 feat: basic Astro renderer in with-markdoc 2023-03-03 08:39:37 -05:00
bholmesdev
41275d2521 wip: expose Markdoc from integration 2023-03-03 08:39:37 -05:00