Houston (Bot)
9f1881455a
[ci] release (rc) ( #8147 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 10:19:18 -04:00
Matthew Phillips
b4ef0b9a8c
Set Markdoc integration version to a minor ( #8177 )
2023-08-21 12:35:51 -04:00
Houston (Bot)
5e6bd6ab5d
[ci] release (beta) ( #8140 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 18:49:34 +02:00
Houston (Bot)
e5c13881f1
[ci] release (beta) ( #8073 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 11:46:47 -04:00
Erika
b76c166bdd
feat: unflag experimental.assets ( #7921 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-16 10:21:05 +02:00
Houston (Bot)
19f9edf977
[ci] release (beta) ( #8067 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-14 08:46:22 -05:00
Houston (Bot)
40efae6550
[ci] release (beta) ( #7952 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:14:20 -04:00
Houston (Bot)
2ac1c1e260
[ci] release (beta) ( #7897 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-08 11:04:14 +01:00
Emanuele Stoppa
32002c2954
chore: use workspace packages ( #7894 )
2023-08-08 11:02:50 +01:00
Erika
d0679a666f
Remove support for Node 16 ( #7780 )
2023-08-08 11:01:33 +01:00
Houston (Bot)
2e36d96588
[ci] release ( #7988 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 16:21:15 -05:00
Houston (Bot)
9509a66a7b
[ci] release ( #7958 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 13:51:05 -05:00
Houston (Bot)
49b3cf423b
[ci] release ( #7937 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-03 15:16:51 -04:00
Houston (Bot)
39b044e09b
[ci] release ( #7912 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-03 10:54:48 -04:00
Houston (Bot)
1d9e34b136
[ci] release ( #7877 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-01 23:38:24 +08:00
Houston (Bot)
d2b6dabfb3
[ci] release ( #7854 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-28 12:34:00 -04:00
Houston (Bot)
98ca04f915
[ci] release ( #7851 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-28 09:12:05 -04:00
Houston (Bot)
3b422272e6
[ci] release ( #7813 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 15:33:13 -04:00
Houston (Bot)
db8c04002f
[ci] release ( #7784 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-25 15:15:41 -04:00
Alex Sherwin
7461e82c81
Add "allowHTML" option for Markdoc with HTML parsing/processing ( #7597 )
...
* 7576 - initial support for HTML inside Markdoc.
This uses htmlparser2 to perform a pure token transform/mutation
on the markdown-it tokens, replacing the original raw HTML string
tokens with a richer set of tokens per HTML node, and in the process
Markdoc tags are interleaved in the resulting token graph at the
appropriate locations
This removes the legacy config of the @astrojs/markdoc integration
entirely (suggested by @bholmesdev) and introduces a new type for
options to be specified in the astro config, initially, with just the new
"enableHTML" option
When "enableHTML" is *not* enabled (the default), the behavior
of the entire @astrojs/markdoc integration should remain functionally
equivalent to before this change
* 7576 - fixed issues with whitespace preservation
also:
* cleaned up " to ' for astro project preferred linting
* made the html rendering test fixture use a dynamic path
* 7576 - detailed nested HTML test coverage
* 7576 - component + HTML interleaved tests
* 7576 - fix lint problems from previous changes
* 7576 - some commentary
* 7576 - file naming, refactor html under imports, package.json exports definition for html
* 7576
* move out of extensions dir, remove export
* cdata handling changes
* 7576
* inline license from third party code
* cleanup test class copy of HTML output
* remove // third party indicators for imports (clarification: not third party code, just a indicator this group of imports is third party)
* 7576 - fixed test before/after for DRY'ness
* 7576 - no need to React-ify HTML attribute case
* 7576 - rename "enableHTML" option to "allowHTML"
* Added Markdoc allowHTML feature changeset
* 7576 - updated README with allowHTML info
* 7576 - fixed changeset typo
* 7576 - minor edits based on PR feedback for docs
* 7576 - minor edits based on PR feedback for docs
2023-07-24 19:34:06 -04:00
Houston (Bot)
e80896a67c
[ci] release ( #7763 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-24 17:09:11 +08:00
Birk Skyum
0c9959704f
Bump vite to 4.4.6 ( #7746 )
2023-07-24 16:21:17 +08:00
Houston (Bot)
16a41528e4
[ci] release ( #7737 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-21 16:37:17 -04:00
Houston (Bot)
92382ea1d4
[ci] release ( #7714 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-20 12:09:38 -04:00
Houston (Bot)
de65ad25ea
[ci] release ( #7699 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-19 09:32:32 +02:00
Houston (Bot)
d80e5fcf8e
[ci] release ( #7681 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-18 16:14:39 +08:00
Houston (Bot)
1f2d52bd7b
[ci] release ( #7645 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-14 10:44:25 -04:00
Houston (Bot)
db4095d3f5
[ci] release ( #7624 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-13 21:43:11 +08:00
Houston (Bot)
f0666b92c3
[ci] release ( #7594 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-11 22:27:04 +08:00
Houston (Bot)
f224078a65
[ci] release ( #7578 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-06 23:16:08 +08:00
Houston (Bot)
f820bb3f0b
[ci] release ( #7559 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-05 14:48:04 +08:00
Houston (Bot)
fc6826ff76
[ci] release ( #7526 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-03 20:53:45 +08:00
Houston (Bot)
56f1b1229c
[ci] release ( #7496 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-29 17:14:24 +08:00
Ben Holmes
fb7af55114
feat: New Markdoc render
API ( #7468 )
...
* feat: URL support for markdoc tags
* refactor: move to separate file
* feat: support URL for markdoc nodes
* feat: support `extends` with URL
* chore: changeset
* fix: bad AstroMarkdocConfig type
* fix: experimentalAssetsConfig missing
* fix: correctly merge runtime config
* chore: formatting
* deps: astro internal helpers
* feat: component() util, new astro bundling
* chore: remove now unused code
* todo: missing hint
* fix: import.meta.url type error
* wip: test nested collection calls
* feat: resolve paths from project root
* refactor: move getHeadings() to runtime module
* fix: broken collectHeadings
* test: update fixture configs
* chore: remove suggestions. Out of scope!
* fix: throw outside esbuild
* refactor: shuffle imports around
* Revert "wip: test nested collection calls"
This reverts commit 9354b3cf9222fd65b974b0cddf4e7a95ab3cd2b2.
* chore: revert back to mjs config
* chore: add jsdocs to stringified helpers
* fix: restore updated changeset
---------
Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2023-06-27 15:05:17 -04:00
Houston (Bot)
da56a005d9
[ci] release ( #7449 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-27 08:42:46 -04:00
Houston (Bot)
38b104049a
[ci] release ( #7434 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-22 10:06:15 -04:00
Bjorn Lu
f275d058fc
Update safe dependencies ( #7430 )
2023-06-21 21:09:49 +08:00
Houston (Bot)
1589eaabcd
[ci] release ( #7428 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-20 10:32:26 -04:00
Houston (Bot)
f87680f6df
[ci] release ( #7390 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-19 11:36:45 -04:00
Houston (Bot)
06315a1fde
[ci] release ( #7368 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-13 16:55:58 -04:00
Houston (Bot)
4f7091206c
[ci] release ( #7354 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-10 13:54:36 -04:00
Ben Holmes
a30f2f3de4
Fix Markdoc cloudflare errors ( #7351 )
...
* fix: move `node:` libs out of utils
* fix: node -> default
* chore: remove kleur from markdoc ex (why was this there??)
* chore: lock
* chore: changeset
2023-06-10 13:43:26 -04:00
Ben Holmes
491c2db424
Fix: better collection entry devalue error ( #7341 )
...
* feat: add clear error for devalue parse
* refactor: create error data entry
* deps: up devalue
* chore: changeset
2023-06-09 18:15:11 -04:00
Houston (Bot)
e138f66344
[ci] release ( #7318 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-09 08:40:17 +03:00
Houston (Bot)
8a029d9889
[ci] release ( #7312 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06 17:24:57 -04:00
Ben Holmes
a11b62ee1f
Fix: Markdoc type errors ( #7311 )
...
* fix: config, prism, shiki exports
* fix: type error for `render` property
* chore: use `.ts` files in select tests for type checks
* fix: type error on shiki() promise
* chore: changeset
2023-06-06 14:48:54 -04:00
Houston (Bot)
d5a089810f
[ci] release ( #7295 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06 10:32:10 -05:00
Houston (Bot)
c64dfdd3d8
[ci] release ( #7254 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-02 10:51:28 -04:00
Houston (Bot)
ba865f5d64
[ci] release ( #7190 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 16:53:55 -04:00
Ben Holmes
16b8364119
Markdoc - improve syntax highlighting support ( #7209 )
...
* feat: prism and shiki support, with better exports!
* chore: update tests
* chore: fix lock
* chore: add prism test
* chore: remove `async` from prism
* docs: update syntax highlight readme
* chore: changeset
* edit: remove `await` from prism docs
* chore: update old changest with new shiki instructions
* fix: add trailing newline on ts-expect-error
* refactor: resolve promises internally
* docs: remove `await` from shiki examples
2023-05-25 11:35:07 -04:00