summaryrefslogtreecommitdiff
path: root/packages/astro-parser/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-08-27Remove unused namespace redirection from the astro parser (#1245)Gravatar Jonathan Neal 1-83/+1
* nit: remove unused namespace checking from astro parser * test: add tests for namespaced attributes, including one removed attribute * add changeset
2021-07-29Allow triple-dashes in markdown (#938)Gravatar Matthew Phillips 1-1/+1
* Allow triple-dashes in markdown * Changeset * Remove the .only
2021-07-23Introduce `<style global>` (#824)Gravatar Tony Sullivan 2-14/+2
* Adding support for multiple <style> blocks * Adding support for `<style global>` * scoping @keyframes should also be skipped for <style global> * Adding test coverage for muliple style blocks, global blocks, and scoped keyframes * docs: Updating docs for `<style global>` support * Adding yarn changeset * Punctuation fix in styling docs * docs: Clarifying example use cases given in the docs Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-21Handle custom elements in nested JSX (#792)Gravatar Matthew Phillips 2-5/+8
* Handle custom elements in nested JSX * Adds a changeset
2021-07-20Revert "fix(parser): html entities evaluated (#738)"Gravatar Fred K. Schott 3-4/+88
This reverts commit 268186c27d436dd4fe6a330af8790ceeaeb6492c.
2021-07-20fix(parser): html entities evaluated (#738)Gravatar Carter Snook 3-88/+4
2021-07-17feat(parser): remove trim utils (#728)Gravatar Carter Snook 2-20/+2
2021-07-07[ci] yarn formatGravatar natemoo-re 4-8/+6
2021-07-01Implements low-level custom element support (#587)Gravatar Matthew Phillips 5-0/+17
* Implements low-level custom element support * Changes based on self review * Adds a changeset * Polyfills are added even when not hydrating * Remove hydrationMethod option Punting on this idea until it's really needed.
2021-06-24Fix `{...spread}` props (#522)Gravatar Nate Moore 2-3/+1
* fix(#521): allow spread props * chore: add spread prop tests * fix: falsy expressions should only be skipped in 'Expression' case * fix: support primitives in expressions (objects, arrays)
2021-06-16Fix parser error on forward slash (#469)Gravatar Drew Powers 1-1/+2
Fixes #407
2021-06-15Add `<>` fragment support for expressions (#433)Gravatar Nate Moore 1-2/+2
* feat: add support for `<>` and `</>` Fragments * docs: explain Fragments * test: add fragment test
2021-06-02Fix starter template's Tour component (#290)Gravatar Matthew Phillips 2-2/+3
* Fix starter template's Tour component This component had an extra backtick and also didn't import the Markdown component. * Add a changeset
2021-06-02Improve “file not found” error display (#288)Gravatar Drew Powers 2-17/+14
2021-05-26[ci] yarn formatGravatar natemoo-re 1-32/+1
2021-05-21[ci] yarn formatGravatar natemoo-re 1-1/+1
2021-05-21Markdown issue cleanup (#224)Gravatar Nate Moore 1-1/+9
* fix: markdown issues * chore: add changeset * chore: add missing dep * perf: parallelize compileHtml for children
2021-05-17[ci] yarn formatGravatar natemoo-re 2-2/+5
2021-05-17Fix markdown issues (#208)Gravatar Nate Moore 6-4/+91
* Init fix/markdown * Astro Markdown (#207) * Add Astro Markdown to VSCode Extension * Add Astro Markdown to Astro * refactor: update astro-markdown example * feat: remove embedded components from `.md` files * fix: resolve `.md.astro` files at runtime * chore: update markdown tests * feat: add <Markdown> component * chore: bump examples * chore: update example * fix: improve Markdown child handling * feat: harden markdown support, add code fence support, add automatic dedenting * chore: add weird markdown edge cases * chore: update remote-markdown examples * chore: add comment to Markdown.astro * feat: improve markdown support (codefences, nested inside HTML) * refactor: extract import specifier types to set * refactor: conditionally import markdown renderer * refactor: revert special-cased "astro/components" * refactor: revert special-cased "astro/components" * refactor: use astro/components/Markdown.astro * refactor: remove `.md.astro` support in favor of Markdown component * refactor: use regular .astro files * refactor: remove unused code * refactor: move Markdown inside Layout * wip: markdown scoped styles * feat: improve scoped styles in Markdown * feat: micromark => remark ecosystem * fix: markdown build * fix: markdown build * chore: add todo * fix: collect headers text * docs: add Markdown doc * chore: add changeset * docs: improve Markdown highlighting * refactor: prefer Set * refactor: exclude large unified deps * docs: update markdown docs Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com> * chore: remove extra markdown deps * perf: optimize markdown * fix: unified/rehype deps * temp: fix markdown test * test: add TODO comment * fix: do not namespace frontmatter, just astro metadata * test: fix astro-markdown test * test: add realworld markdown example * fix: prism language bug * docs: update markdown docs * chore: bump dependencies * fix: escape codespan * fix: unterminated string literal * fix(vscode): inline dependencies * fix(vscode): dependencies * feat(vscode): embedded markdown * feat: add Markdown syntax highlighting * chore: improve markdown example * fix: markdown example * feat: highlighting improvements * chore: add changeset * fix: CodeBlock => CodeSpan * chore: get astro-markdown example running Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-05-06Chore: fix lint rules, add more error handling for unexpected cases (#177)Gravatar Drew Powers 1-2/+0
2021-04-30Migrate to `yarn` monorepo (#157)Gravatar Nate Moore 29-0/+4770
* chore: use monorepo * chore: scaffold astro-scripts * chore: move tests inside packages/astro * chore: refactor tests, add scripts * chore: move parser to own module * chore: move runtime to packages/astro * fix: move parser to own package * test: fix prettier-plugin-astro tests * fix: tests * chore: update package-lock * chore: add changesets * fix: cleanup examples * fix: starter example * chore: update changeset config * chore: update changeset config * chore: setup changeset release workflow * chore: bump lockfiles * chore: prism => astro-prism * fix: tsc --emitDeclarationOnly * chore: final cleanup, switch to yarn * chore: add lerna * chore: update workflows to yarn * chore: update workflows * chore: remove lint workflow * chore: add astro-dev script * chore: add symlinked README