Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Astro language support #3679

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

HynekS
Copy link

@HynekS HynekS commented May 17, 2023

This PR adds support for the Astro language, a superset of HTML used by the Astro.js framework. I have followed the various instructions in the README.

Summary

I based the Astro module on existing TypeScript and tsx languages, because, from a tokenization perspective, Astro can be (arguably) considered a subset of these. I added the "component script" (a feature similar to Markdown's "frontmatter") and added support for HTML comments that are not used in tsx

Ownership

I would be happy to own and maintain this module.

@github-actions
Copy link

github-actions bot commented May 17, 2023

JS File Size Changes (gzipped)

A total of 2 files have changed, with a combined diff of +282 B (+11.5%).

file master pull size diff % diff
components/prism-astro.min.js 0 Bytes 273 B +273 B +100.0%
plugins/autoloader/prism-autoloader.min.js 2.45 KB 2.46 KB +9 B +0.4%

Generated by 🚫 dangerJS against d4f0e68

@HynekS HynekS closed this May 17, 2023
@HynekS HynekS reopened this May 17, 2023
@HynekS HynekS closed this May 17, 2023
@HynekS HynekS reopened this May 17, 2023
@tadaspetra
Copy link

Are there still plans for this to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants