bholmesdev
b573e53e9c
refactor: ASTRO_CI_PERFORMANCE_RUN -> ASTRO_PERFORMANCE_BENCHMARK
2023-03-03 08:42:48 -05:00
bholmesdev
b73e8f0899
refactor: isPerfBenchmark
2023-03-03 08:42:47 -05:00
bholmesdev
8677aa8392
refactor: --perf -> env var
2023-03-03 08:42:47 -05:00
bholmesdev
6fd4c9ac38
wip: performance pkg with md fixture
2023-03-03 08:41:58 -05:00
bholmesdev
04facd1683
feat: add --perf
flag to skip md plugins
2023-03-03 08:41:58 -05:00
Houston (Bot)
71743aeca7
[ci] release ( #6359 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 08:55:42 -05:00
Houston (Bot)
2e4ca0370a
[ci] release ( #6279 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-17 13:44:15 -05:00
Houston (Bot)
fbb34e1ef6
[ci] update lockfile ( #5988 )
...
* [ci] update lockfile
* fix type issues
---------
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-30 12:03:32 -05:00
Houston (Bot)
607f0ac31a
[ci] release ( #5984 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-26 13:53:32 -05:00
HiDeoo
7abb1e9056
Fix MDX heading IDs generation when using a frontmatter reference ( #5978 )
...
* Fix MDX heading IDs generation when using a frontmatter reference
* Hoist safelyGetAstroData() call and add statement null check
2023-01-26 12:52:50 -05:00
bholmesdev
fb6604d0aa
[ci] format
2023-01-24 16:40:14 +00:00
Houston (Bot)
73ca0ef383
[ci] release ( #5948 )
...
* [ci] release
* Update changelogs (#5955 )
* [ci] release
* Wrap astro 2.0 beta logs in `<details>`
* Add link to docs upgrade guide
* First pass cleaning up 2.0 release notes
* mdx changes from Sarah
* combine 5584 and 5842 in deno, image, netlify
* markdown/remark incl (5684 & 5769) to match mdx
* Tweak markdown/remark formatting
* Format astro-prism
* Format astro-rss
* Format create-astro
* Format cloudflare
* Format lit
* Format partytown
* Format node
* Format preact
* Format react
* Format solid
* Format svelte
* Format tailwind
* Format vercel
* Format vue
* Format telemetry
* Format webapi
* Format scripts
* Reinstate h3s for headings
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Reformat mdx
* astro & markdown/remark: Combine #5679 & #5684 changelogs
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-24 11:38:06 -05:00
Houston (Bot)
a75177f843
[ci] release (beta) ( #5911 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-23 16:11:39 -05:00
Fred K. Bot
02b797fd3c
[ci] release (beta) ( #5792 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-12 11:40:35 -05:00
Giuseppe La Torre
12f65a4d55
fix shiki css class replace logic in md and mdx integrations ( #5837 )
2023-01-12 20:15:51 +08:00
Ben Holmes
52209ca2ad
[Content collections] Remove experimental flag ( #5825 )
...
* refactor: remove experimental.cc from core
* chore: remove experimental flag from tests
* fix: mock contentDir in remark tests
* fix: check vfile.path in rel-image-error plugin
* fix: move .astro/ excludes to all test/fixtures
* fix: include test/**/fixtures in ignore
* chore: changeset
2023-01-11 12:51:31 -05:00
Chris Swithinbank
f35411487b
[markdown-remark] Remove unused dependencies ( #5804 )
...
* [markdown-remark] Remove unused dependency
Follow up to #5785 . Missed one dependency that is no longer used and can be removed.
* [markdown-remark] Remove unused dependency
* Lockfile fix
* Update lockfile [again]
2023-01-09 17:06:29 +01:00
Matthew Phillips
7572f74022
Add Astro as a peerDependency ( #5806 )
...
* Add Astro as a peerDependency
* Add changeset
* Update .changeset/thin-seahorses-worry.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-09 10:58:38 -05:00
delucis
62ae11408e
[ci] format
2023-01-09 09:25:26 +00:00
Chris Swithinbank
16107b6a10
Remove Astro-flavored Markdown from @astrojs/markdown-remark
( #5785 )
2023-01-09 10:23:21 +01:00
Fred K. Bot
ec5a39c299
[ci] release (beta) ( #5742 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-06 13:00:12 -05:00
bholmesdev
29acb07f64
[ci] format
2023-01-06 14:28:50 +00:00
Ben Holmes
93e633922c
Add SmartyPants flag ( #5769 )
...
* feat: add smartypants flag
* test: smartypants in markdown and mdx
* docs: Smartypants -> SmartyPants
* chore: changeset
* chore: update changeset with 1.0 -> 2.0 in mind
* chore: bump to minor change
2023-01-06 09:26:02 -05:00
Fred K. Bot
2ba3bd9c16
[ci] release (beta) ( #5732 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-03 17:23:30 -05:00
matthewp
0ac87f0836
[ci] format
2023-01-03 22:15:51 +00:00
Ben Holmes
a9c2920264
Markdown and MDX configuration rework ( #5684 )
...
* feat: change extendDefaults -> gfm
* deps: remove smartypants from md/remark
* tests: update markdown plugin tests
* fix: borked lockfile
* feat: allow all Markdown options in MDX config, with extend
* deps: remove smartypants from MDX
* chore: remove unused `mode` property
* chore: remark rehype types
* chore: dead code
* fix: order of default config properties
* refactor: move md defaults to remark
* fix: RemarkRehype type
* fix: apply defaults based on MD defaults
* chore: update plugin tests
* chore: add syntaxHighlight test
* refactor: remove drafts from config defaults
* docs: new MDX config options
* chore: add changeset
* edit: test both extends for syntax highlight
* refactor: remove MDX config deep merge
* docs: update README and changeset
* edit: avoid -> disable
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: `drafts` clarification
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: remove "scare quotes"
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* docs: MDX config options redraft
* docs: add migration
* chore: changeset heading levels
* refactor: githubFlavoredMarkdown -> gfm
* chore: remove unused imports
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-03 17:12:47 -05:00
bholmesdev
163a9a9d0e
[ci] format
2023-01-03 21:33:40 +00:00
Ben Holmes
e2019be6ff
Change frontmatter injection ordering ( #5687 )
...
* feat: make user frontmatter accessible in md
* test: new frontmatter injection
* refactor: move injection utils to remark pkg
* fix: add dist/internal to remark exports
* feat: update frontmater injection in mdx
* tests: new mdx injection
* chore: changeset
* chore: simplify frontmatter destructuring
* fix: remove old _internal references
* refactor: injectedFrontmatter -> remarkPluginFrontmatter
* docs: add content collections change
* chore: changeset heading levels
2023-01-03 16:31:19 -05:00
Fred K. Bot
640de3c26f
[ci] release ( #5645 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-27 11:52:24 -05:00
Ben Holmes
9674cf56c5
[Content Collections] Stray console.log snuck in! ( #5668 )
...
* fix: stray console.log
* chore: changeset
2022-12-22 17:17:53 -05:00
bholmesdev
813576b39a
[ci] format
2022-12-22 15:40:34 +00:00
Ben Holmes
853081d1c8
[Content] Throw on relative image usage ( #5648 )
...
* chore: add rel image error plugin
* deps: mdast, mdast types
* chore: add rel image throw to mdx
* refactor: doc rel image path plugin
* fix: respect experimental flag in md remark
* chore: changeset
* deps: remove mdast package
* fix: resolve contentDir from config
* fix: apply MDX plugin after user plugins
* fix: stub out contentDir
2022-12-22 10:38:03 -05:00
Chris Swithinbank
2c65b433bf
MD/MDX collect headings refactor ( #5654 )
2022-12-20 23:08:15 +01:00
Anders Kaseorg
53e0c98dae
Fix spelling mistakes found by codespell and mwic ( #5627 )
2022-12-19 12:00:00 +01:00
Fred K. Bot
d08093f7d4
[ci] release ( #4903 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-29 11:20:00 -04:00
bluwy
0722ae0251
[ci] format
2022-09-28 15:15:42 +00:00
Bjorn Lu
812658ad2a
Remove shamefully-hoist ( #4842 )
2022-09-28 23:13:33 +08:00
Fred K. Bot
a08b178cdb
[ci] release ( #4811 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20 15:15:54 -04:00
Kristoffer K
df54595a88
fix(markdown-remark): declare hast-util-to-html
as a dependency ( #4787 )
2022-09-20 17:21:54 +08:00
Fred K. Bot
e905784bf1
[ci] release ( #4520 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 12:45:04 -04:00
Juan Martín Seery
a2e8e76c30
chore: updated shiki ( #4519 )
...
* Upgraded shiki
* Use setColorReplacements
* no-shadow
* Changeset
2022-08-28 08:23:37 -03:00
Fred K. Bot
ff03313848
[ci] release ( #4495 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 13:01:30 -04:00
Fred K. Bot
7960fb80a1
[ci] release (next) ( #4480 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 17:27:35 -04:00
Ben Holmes
ac03218247
[MD] extendDefaultPlugins
to preserve default remark plugins ( #4474 )
...
* feat: add { extends } to markdown config
* test: remark plugins with extends
* deps: pnpm lock
* chore: changeset
* fix: remarkPlugins -> rehypePlugins
* docs: update markdown config reference
* Revert "feat: add { extends } to markdown config"
This reverts commit 5d050bbcf9a2c0d470cae79c4d0a954d489f4e8c.
* feat: new "extendDefaultPlugins" flag
* docs: update config
* nit: We -> Astro applies
* fix: backticks on `false`
* nit: Note -> REAL note
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* docs: note -> caution
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-25 17:21:56 -04:00
matthewp
9cff515318
[ci] format
2022-08-25 20:32:45 +00:00
gtnbssn
839097c84e
make Remark rehype options available in astro config ( #4138 )
...
* make remark-rehype config available in astro.config.mjs
* add test for remark-rehype config, checks that footnotes can be translated
* update lockfile to take the added test into account
* omit handlers and unkownHandler from the RemarkRehype type
* define RemarkRehype with proper references to the handler and handlers types
* formatting
* changeset
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-25 16:30:16 -04:00
Nate Moore
9f067dca27
Astro 1.0.0 ( #4214 )
...
* chore: remove changesets patch
* chore: add changesets
* chore: version packages
* chore: normalize formatting
* chore: update lockfile
* chore: fix codeblocks
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: fixup code samples
* chore: move v0.25 message out of note
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-09 11:10:25 -05:00
Fred K. Bot
4e4061f485
[ci] release ( #4159 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-05 21:48:35 -07:00
natemoo-re
367cdd9ed8
[ci] format
2022-08-05 23:58:09 +00:00
Ben Holmes
2675b8633c
Frontmatter injection for MD and MDX ( #4176 )
...
* feat: inject vfile data as exports
* feat: add vfile to renderMarkdown output
* feat: add safe astroExports parser to utils
* refactor: expose vite-plugin-utils on astro package
* feat: handle astroExports in mdx
* deps: vfile
* chore: lockfile
* test: astroExports in mdx
* refactor: merge plugin exports into forntmatter
* refactor: astroExports -> astro.frontmatter
* refactor: md astroExports -> astro.frontmatter
* feat: astro.frontmatter vite-plugin-markdown
* chore: remove unused import
* fix: inline safelyGetAstroData in MDX integration
* chore: check that frontmatter export is valid export name
* chore: error log naming
* test: mdx remark frontmatter injection
* fix: inconsistent shiki mod resolution
* fix: add new frontmatter and heading props
* test: remark vdata
* fix: spread astro.data.frontmatter
* test deps: mdast-util-to-string, reading-time
* fix: astro-md test package name
* test: md frontmatter injection
* fix: layouts
* deps: remove vite-plugin-utils export
* fix: package lock
* chore: remove dup import
* chore: changeset
* chore: add comment on safelyGetAstroData source
* deps: move mdast-util-to-string + reading-time to test fixture
* chore: move remark plugins to test fixture
* fix: override plugin frontmatter with user frontmatter
* test: md injected frontmatter overrides
* test: frontmatter injection overrides mdx
2022-08-05 18:55:38 -05:00