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
Ben Holmes
471c6f784e
[markdown] Harder, better, faster, stronger vite-plugin-markdown
( #4137 )
...
* refactor: vite-plugin-md -> vite-plugin-md-legacy
* wip: add vite-plugin-md
* feat: always apply jsx renderer
* fix: markHTMLString on VNode result
* feat: apply new vite-plugin-markdown!
* fix: add meta export to md
* fix: remove needless $$metadata export
* fix: toggle to legacy plugin on flag
* fix: pass fileId to renderMarkdown
* test: raw and compiled content on plain md
* fix: escape vite env refs
* refactor: astro-md -> legacy-astro-flavored-md, astro-md-mode -> astro-markdown
* fix: import.meta.env refs with tests
* fix: add pkg.json to clientAddress
* fix: prefer JSX integration over Astro runtime
* Revert "fix: prefer JSX integration over Astro runtime"
This reverts commit 3e5fa49344be9c857393da9af095faab152e92e1.
* fix: remove .mdx check on importSource
* chore: changeset
* chore: remove TODO
* fix: add back getHeadings
* fix: add pkg.json to astro-head fixture
* fix: default to Astro renderer for MDX and MD
* feat: add "headings" and "frontmatter" to md layouts
* refactor: remove legacy flag conditionals from legacy plugin
* fix: add back MDX warning when legacy is off
* test: getHeadings() glob
* fix: add error on "astro.headings" access
* feat: update docs example astro.headings => headings
* refactor: readFile as string w/ utf-8
* chore: remove astro metadata TODO
* refactor: stringify HTML once
* fix: add pkg.json to glob-pages-css
2022-08-05 15:43:50 -04:00
hippotastic
e7bee22d18
[ci] format
2022-08-05 14:24:50 +00:00
hippotastic
16034f0dd5
Fix double-escaping of non-highlighted code blocks in Astro-flavored markdown ( #4169 )
2022-08-05 16:23:16 +02:00
Fred K. Bot
077d78fddc
[ci] release ( #4116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-02 14:50:21 -07:00
Erika
ac6ffdb310
Audit dependencies ( #4096 )
...
* Remove some unused dependencies
* Update lockfile
* Add util
* Remove util
2022-08-02 16:08:21 -04:00
Erika
64432bcb87
Refactor @astrojs/prism, fix Prism component import not working ( #4114 )
...
* Upgrade @astrojs/prism to a real package, fix component import not working
* Remove `@astrojs/prism` as a dependency of `astro`
* Update lock file
* Refactor to multiple files
* Oops, can't have astro imports run inside node
* Follow Nate's suggestion on being minors instead of patchs
* Update lockfile
2022-08-02 15:53:18 -04:00
Matthew Phillips
da5e6ca128
Add tests for markdown content escaping ( #4058 )
2022-07-26 17:31:57 -04:00
Fred K. Bot
d790eabd98
[ci] release ( #3972 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-26 09:58:38 -04:00
Nate Moore
6e27a5fdc2
Rename Markdown util getHeaders()
to getHeadings()
( #4031 )
...
* Renamed getHeaders() to getHeadings(), according to RFC #208 .
* chore: update changeset
* fix: expose MarkdownHeading type from `astro`
Co-authored-by: Félix Sanz <me@felixsanz.com>
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-23 17:23:15 -05:00
tony-sull
41f4a8f9cb
[ci] format
2022-07-22 22:47:21 +00:00
Ben Holmes
00fab4ce13
Feat: new legacy.astroFlavoredMarkdown
flag ( #4016 )
...
* refactor: add legacy.jsxInMarkdown flag to config
* refactor: jsxInMarkdown -> astroFlavoredMarkdown
* refactor: remove `markdown.mode`
* feat: wire up legacy.astroFlavoredMarkdown
* test: add legacy to astro-markdown fixture
* test: remark autolinking
* test: remark components
* test: remark expressions
* test: remark strictness
* chore: remove "mode" from md component
* chore: remove "mode: md" from tests
* Fixing legacy MD tests, adding named slots tests for MDX pages
* chore: update lock file
* WIP: debugging named slots in MDX
* fix: handle named slots in MDX properly
* chore: re-enabling slots tests for MDX pages
* fixing test validation for svelte & vue
* removing unused Tailwind test
* legacy flag for Markdown component tests
* adding is:raw to Markdown component test
* adding is:raw to all Markdown component test fixtures
* can't use is:raw when nesting markdown components
* another nested test can't use is:raw
* one more <Markdown> test fix
* fixing another JSX markdown component test
* chore: add changeset
* e2e tests were missing the legacy flag
* removing the broken tailwind E2E markdown page
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-22 22:45:16 +00:00
bholmesdev
476766b0d9
[ci] format
2022-07-21 22:03:46 +00:00
Ben Holmes
399d7e2698
Fix: use set:html
when markdown mode is md
( #4008 )
...
* refactor: add legacy.jsxInMarkdown flag to config
* fix: use `set:html` when `markdown.mode` is 'md'
* Revert "refactor: add legacy.jsxInMarkdown flag to config"
This reverts commit 5572e8d9b3
.
* fix: move `remarkUnwrap, remarkEscape` to MDX only
* fix: only apply scary HTML passthroughs on MDX
* fix: move all JSX-specific rehype plugins under `isMDX`
* fix: "allowDangerousHtml" for md (required for Shiki)
* fix: apply `set:html` for non-layouts too
* test: JSX expressions, components, syntax highlighting
* chore: changeset
* fix: ignore "setup" and "components" in plain MD mode
* refactor: create new fixture to avoid weird caching error
* fix: dup package name
* chore: update lock
* fix: apply rehypeCollectHeaders to md
2022-07-21 18:01:26 -04:00
FredKSchott
91e4ba03da
[ci] format
2022-07-19 05:23:28 +00:00
Rafid Muhymin Wafi
ba11b33996
Removes trailing dash from generated slugs in markdown ( #3044 )
...
* fixed header slugs in markdown if ends with a dash
* added changeset
* removes trailing dash only if slug was created
* updated test
* updated change level from patch to minor
2022-07-18 22:21:56 -07:00
Fred K. Bot
37534004f0
[ci] release ( #3939 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-18 21:54:25 -07:00
Juan Martín Seery
60e38f6eb4
ci: fix eslint issues ( #3969 )
2022-07-18 19:59:53 -03:00
Fred K. Schott
f5c9d8e829
Revert "Removes trailing dash from generated slugs in markdown ( #3044 )"
...
This reverts commit 8530cce14f
.
2022-07-18 14:32:51 -07:00
Fred K. Schott
4555c8cb0b
Revert "Revert "Removes trailing dash from generated slugs in markdown ( #3044 )""
...
This reverts commit 7160bbeede
.
2022-07-18 14:32:29 -07:00
Fred K. Schott
7160bbeede
Revert "Removes trailing dash from generated slugs in markdown ( #3044 )"
...
This reverts commit 8530cce14f
.
2022-07-18 14:08:51 -07:00
Fred K. Schott
07fb544dab
remove ssr-utils file ( #3924 )
2022-07-18 12:12:45 -04:00
RafidMuhymin
963100fb27
[ci] format
2022-07-16 09:47:09 +00:00
Rafid Muhymin Wafi
8530cce14f
Removes trailing dash from generated slugs in markdown ( #3044 )
...
* fixed header slugs in markdown if ends with a dash
* added changeset
* removes trailing dash only if slug was created
* updated test
* updated change level from patch to minor
2022-07-16 15:45:41 +06:00
Fred K. Bot
78e765dc65
[ci] release ( #3921 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-14 11:36:33 -05:00
FredKSchott
cea2063a94
[ci] format
2022-07-14 16:06:50 +00:00
Fred K. Schott
01a55467d5
add back missing ssr-utils.ts file ( #3919 )
2022-07-14 09:05:20 -07:00
Fred K. Bot
056d4d5fd2
[ci] release ( #3903 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-13 17:16:24 -04:00
Juan Martín Seery
ca45c0c270
fix: don't throw when Shiki doesn't recognize a language ( #3911 )
...
* Don't throw when Shiki doesn't recognise a language
* Changeset
2022-07-13 19:31:59 +00:00
Fred K. Bot
c2b14d5253
[ci] release ( #3894 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 09:08:15 -04:00
Nate Moore
93e1020b1e
Fix: reintroduce smoke tests across example projects ( #3669 )
...
* chore: update smoke tests
* chore: bump smoke tests to node@16
* chore: remove gitmodules
* chore(ci): prefer node@14
* wip: remove path from smoke clone step
* feat: run build:examples from test:smoke
* fix: remove no-frozen-lockfile
* fix: checkout monorepo last for pnpm setup
* wip: replace @astrojs/markdown/remark import from md
* fix: remove type defs from generated file
* fix: function order
* chore: remove ssr-utils export
* wip: remove windows from smoke test
* fix: instantiate slugger in snippet
* fix: exclude with-mdx from smoke (for now)
* fix: add quotes on filter flag for safety
* chore: changeset
* wip: try reintroducing windows smoke
* sad chore: remove client: directive from with-mdx
* Revert "wip: try reintroducing windows smoke"
This reverts commit 9529b1a45c
.
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-11 22:51:17 -04:00
Fred K. Bot
1554a37622
[ci] release ( #3887 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11 13:38:42 -05:00
Fred K. Bot
768c8ed21d
[ci] update lockfile ( #3740 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-28 08:33:13 -05:00
Tony Sullivan
b8c6dabfb7
Enables eslint on the full repo and adds a rule for no only()
tests ( #3659 )
...
* enabling eslint on the all packages and tests
* enabling for all packages
* TEMP: adding an only() test to verify it fails CI
* using our eslint config and ignore in CI
* removing the temporary .only() test
* update lock file
* lint: fixing new test with a no-shadow warning
* chore: update lock file
2022-06-22 15:59:49 +00:00
github-actions[bot]
e67171252c
[ci] release ( #3615 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-06-21 09:43:19 -04:00
tony-sull
0519601b52
[ci] format
2022-06-20 19:10:59 +00:00
Tony Sullivan
48e67fe053
Encode ampersands in markdown code blocks ( #3630 )
...
* encode ampersands in markdown code blocks
* chore: add changeset
* nit: fixing test case description
2022-06-20 19:09:35 +00:00
tony-sull
9502fbf4a9
[ci] format
2022-06-20 17:14:08 +00:00
Tony Sullivan
80c71c7c56
Fixes rendering of HTML comments inside markdown code blocks ( #3638 )
...
* JS comment wrappers should be removed from HTML comments in code blocks
* chore: add changeset
2022-06-20 17:12:42 +00:00
hippotastic
05aa72442c
Remove extra newlines around Markdown components ( #3620 )
2022-06-17 11:52:37 -05:00
Ben Holmes
fca58cfd91
Fix: Netlify edge deployment when using markdown ( #3612 )
...
* wip: revert sitemap PR
* fix: extract SSR-ready "slug" helper to separate module
* Un-revert sitemap PR. Not to blame!
This reverts commit 7cd2a8a5ea
.
* fix: use .netlify for edge deployment test
* refactor: add md file to edge function fixture
* fix: add netlify edge tests to ci
* chore: remove stray console log
* wip: undo "dist" change on edge tests
* chore: changeset
* Revert "wip: undo "dist" change on edge tests"
This reverts commit 70e565ef06
.
* temp: add ignore to breaking edge tests
2022-06-16 20:31:08 -04:00
Matthew Phillips
fc52321a88
Consolidate hydration scripts into just one ( #3571 )
...
* Remove redundant hydration scripts
* Prebuild the island JS
* Fix build
* Updates to tests
* Update more references
* Custom element test now has two classic scripts
* Account for non-default exports
* Restructure hydration directives
* Move nested logic into the island component
* Remove try/catch
2022-06-15 08:50:05 -04:00
github-actions[bot]
c54b024803
[ci] release ( #3569 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-10 21:07:03 -05:00
hippotastic
5c73f614e8
Fix remarkMdxish performance issue on huge sites ( #3572 )
2022-06-10 17:32:23 -05:00
github-actions[bot]
d02578fd4c
[ci] release ( #3549 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-10 15:03:52 +00:00
natemoo-re
4eb39d57b9
[ci] format
2022-06-10 03:33:13 +00:00
hippotastic
76fb01cff1
Fix autolinking of URLs inside links in Markdown ( #3564 )
2022-06-09 22:31:36 -05:00
natemoo-re
c15e7ebc5e
[ci] format
2022-06-08 17:43:10 +00:00
hippotastic
c549f161ca
Allow AlpineJS syntax extensions in Markdown ( #3554 )
...
* Allow AlpineJS syntax extensions in Markdown
* Remove unwanted MDX ESM import/export support
2022-06-08 12:41:36 -05:00
FredKSchott
f0f6a3332f
[ci] format
2022-06-06 16:49:53 +00:00
github-actions[bot]
9029c43549
[ci] release ( #3512 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-06 09:40:09 -04:00
natemoo-re
ae14595407
[ci] format
2022-06-03 13:39:43 +00:00
hippotastic
6c955ca643
Fix Markdown errors missing source filename ( #3514 )
2022-06-03 08:38:57 -05:00
hippotastic
3057801591
Fix: Allow self-closing tags in Markdown ( #3516 )
2022-06-03 08:38:45 -05:00
nokazn
939fe15925
Fix cases for JSX-like expressions in code blocks of headings ( #3502 )
...
* chore: fix typo in remark tests
* test: add test cases for markdown expressions in header
* fix: avoid evaluating JSX-like expressions inside inline code in heading
* fix: generate slug for id including values in backtick blocks
2022-06-03 08:26:39 -04:00
github-actions[bot]
b2f955ec1b
[ci] release ( #3485 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-31 13:40:19 -04:00
natemoo-re
9a31e6f1d5
[ci] format
2022-05-31 17:17:36 +00:00
hippotastic
119ecf8d46
Fix components in markdown regressions ( #3486 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-05-31 12:16:43 -05:00
github-actions[bot]
8a49ad23bf
[ci] release ( #3446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 06:48:47 -04:00
github-actions[bot]
f200ddadbc
[ci] release ( #3435 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 10:42:03 -05:00
natemoo-re
cb039219ef
[ci] format
2022-05-24 22:03:29 +00:00
Nate Moore
cfae9760b2
Improve Markdown + Components usage ( #3410 )
...
* feat: use internal MDX tooling for markdown + components
* fix: improve MD + component tests
* chore: add changeset
* fix: make tsc happy
* fix(#3319 ): add regression test for component children
* fix(markdown): support HTML comments in markdown
* fix(#2474 ): ensure namespaced components are properly handled in markdown pages
* fix(#3220 ): ensure html in markdown pages does not have extra surrounding space
* fix(#3264 ): ensure that remark files pass in file information
* fix(#3254 ): enable experimentalStaticExtraction for `.md` pages
* fix: revert parsing change
* fix: remove `markdown.mode` option
2022-05-24 17:02:11 -05:00
Fred K. Schott
7cd4b1bc12
[ci] update lockfile ( #3287 )
...
* [ci] update lockfile
* chore: fix lockfile
* fix: pin turbo
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-12 11:42:34 -05:00
github-actions[bot]
1de48ce4eb
[ci] release ( #3277 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 15:50:21 -04:00
Matthew Phillips
8f8f05c1b9
Revert "Consolidate inline hydration scripts into one ( #3244 )" ( #3275 )
...
* Revert "Consolidate inline hydration scripts into one (#3244 )"
This reverts commit 48a35e6042
.
* Fix types
* Adds changeset
2022-05-03 15:18:17 -04:00
github-actions[bot]
8b17d3ebcf
[ci] release ( #3243 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 09:16:57 -04:00
Matthew Phillips
48a35e6042
Consolidate inline hydration scripts into one ( #3244 )
...
* Consolidate inline hydration scripts into one
* Adds changeset
* Update custom element test
* Provide a better name for tracking if we have added a hydration script
2022-05-03 09:07:16 -04:00
Juan Martín Seery
de123b28b3
refactor(markdown): removed rehype-slug
in favor of our own implementation ( #3234 )
...
* Moved types arround
* Removed `rehype-slug` in favor of our own implementation
* Changeset
* Removed rehype-slug from examples
* Remove rehype-slug from tests
* Updated reference
* rehypeCollectHeaders is a function again
* Reverted rehype-slug removes
* Re-added rehype-slug to reference
2022-04-29 21:07:09 -03:00
Fred K. Schott
00b8343844
[ci] update lockfile ( #3153 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-20 09:42:31 -04:00
github-actions[bot]
fce98d5552
[ci] release ( #3151 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 22:45:07 -07:00
Ben Holmes
9ba1f4f825
Fix: markdown JSX expression inconsistencies ( #3152 )
...
* fix: remove micromark-extension-mdx-expression to unbreak JSX expressions
* chore: changeset
* deps: update lockfile
* tests: jsx expressions in markdown
2022-04-19 16:37:11 -04:00
github-actions[bot]
95d0db5a44
[ci] release ( #3120 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 11:30:34 -04:00
Fred K. Schott
ef198ff835
handle diff symbols in shiki ( #3108 )
...
* handle diff symbols in shiki
* Create violet-cups-glow.md
2022-04-18 22:36:42 -07:00
github-actions[bot]
21926278ba
[ci] release ( #3090 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-12 20:15:14 -07:00
github-actions[bot]
0966a432a8
[ci] release ( #3080 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-11 19:59:32 -07:00
Juan Martín Seery
b835e285de
feat: markdown config typechecking ( #2970 )
...
* Added schemas to markdown plugin
* Added new schemas to main package
* Changesets
* typeraw
* Explaination about the weird type hack
* Added markdown.mode to config
* Added comment
* Formatted
* Moved validation to `astro` and added RemarkPlugin ad RehypePlugin
* Removed the ability to have a custom markdown renderer internally
* Fixed plugin type
* Removed unused renderMarkdownWithFrontmatter
* Added missing dependency
* Dynamically import astro markdown
* Cache import
2022-04-11 16:01:12 -07:00
FredKSchott
c2ed6fe360
[ci] format
2022-04-04 06:26:31 +00:00
github-actions[bot]
2552db0d09
[ci] release ( #2975 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-03 23:25:00 -07:00
Juan Martín Seery
ad3c391696
fix(markdown): escape when mode == 'md' ( #2971 )
...
* Fix rehype escape
* Changeset
2022-04-03 14:32:12 -03:00
Fred K. Schott
1335797903
update prettier width ( #2968 )
2022-04-02 14:15:41 -06:00
FredKSchott
d63213f119
[ci] format
2022-04-02 19:50:17 +00:00
github-actions[bot]
7fe149ae43
[ci] release ( #2969 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:49:27 -06:00
Fred K. Schott
e425f896b6
Revert "[ci] release ( #2925 )"
...
This reverts commit 48c9b142cc
.
2022-04-02 13:46:25 -06:00
FredKSchott
d047baad11
[ci] format
2022-04-02 19:41:44 +00:00
github-actions[bot]
48c9b142cc
[ci] release ( #2925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:40:46 -06:00
Nate Moore
17c02925c5
Migrate to new config ( #2962 )
...
* wip: config migration
* fix: formatting
* refactor: projectRoot -> root
* refactor: pageUrlFormat -> format
* refactor: buildOptions.site -> site
* refactor: public -> publicDir
* refactor: dist -> outDir
* refactor: styleOptions -> style
* fix: some dist tests -> outDir
* refactor: remove legacyBuild (with TODOs)
* refactor: more legacyBuild cleanup
* refactor: server host and port
* fix: remove experimentalStaticBuild CLI flag
* refactor: src -> srcDir
* refactor: devOptions.trailing -> trailing
* refactor: remove sitemap + related flags
* refactor: experimentalSSR -> experimental.ssr
* fix: last devOptions
* refactor: drafts -> markdown.drafts
* fix: TS error on port as const
* refactor: remove pages
* refactor: more --project-root updates
* refactor: markdownOptions -> markdown
* fix: remaining type errors
* feat: update AstroUserConfig
* refactor: update CLI flag mapper + server mapper
* fix: loadFixture projectRoot
* fix: merge CLI flags before validating / transforming
* wip: attempt to fix bad createRouteManifest config
* refactor: combine config.base and config.site
* fix: skip route manifest test for now
* fix: site and base handling
* refactor: update failing config testes
* fix: build failure
* feat: update config types with migration help
* chore: update types
* fix(deno): update deno fixture
* chore: remove config migration logic
* chore: remove logLevel
* chore: clean-up config types
* chore: update config warning
* chore: add changeset
* Sitemap Integration (#2965 )
* feat: add sitemap filter config option
* feat: add canonicalURL sitemap config option
* docs: update sitemap README
* fix: update for new config
* fix: filter not being applied
* chore: changeset
Co-authored-by: bholmesdev <hey@bholmes.dev>
* fred pass
* fix: Astro.resolve typo
* fix: public => publicDir
Co-authored-by: bholmesdev <hey@bholmes.dev>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-04-02 12:29:59 -06:00
natemoo-re
192d703563
[ci] format
2022-03-25 22:01:50 +00:00
github-actions[bot]
109693bb05
[ci] release ( #2884 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:00:49 -05:00
Ben Holmes
046bf7281f
refactor: move Prism comp to default exp ( #2887 )
2022-03-25 17:13:28 -04:00
natemoo-re
1e5ea20694
[ci] format
2022-03-24 22:38:47 +00:00
github-actions[bot]
c78d7a46c9
[ci] release (next) ( #2860 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-24 17:37:49 -05:00