Skip to content

Terminal highlighting #402

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions packages/mdx/dev/content/test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,48 @@ function foobarloremipsumfoobarloremipsumsitametfoobarloremipsumfoobarloremipsum
return 8
}
```

```terminal
❯ npm create astro -y

╭─────╮ Houston:
│ ◠ ◡ ◠ Initiating launch sequence...
╰─────╯

 astro  v2.9.2 Launch sequence initiated.

  dir  Where should we create your new project?
./cosmic-chroma

  tmpl  How would you like to start your new project?
Empty
 ✔ Template copied

  deps  Install dependencies?
No
 ◼ No problem!
 Remember to install dependencies after setup.

  ts  Do you plan to write TypeScript?
No
 ◼ No worries!
 TypeScript is supported in Astro by default,
 but you are free to continue writing JavaScript instead.

  git  Initialize a new git repository?
No
 ◼ Sounds good!
 You can always run git init manually.

  next  Liftoff confirmed. Explore your project!

 Enter your project directory using cd ./cosmic-chroma
 Run npm run dev to start the dev server. CTRL+C to stop.
Add frameworks like react or tailwind using astro add.

Stuck? Join us at https://astro.build/chat

╭─────╮ Houston:
│ ◠ ◡ ◠ Good luck out there, astronaut! 🚀
╰─────╯
```
2 changes: 1 addition & 1 deletion packages/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@code-hike/lighter": "0.7.3",
"@code-hike/lighter": "0.8.2",
"node-fetch": "^2.0.0"
},
"devDependencies": {
Expand Down
15 changes: 11 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,12 @@
"@babel/helper-validator-identifier" "^7.19.1"
to-fast-properties "^2.0.0"

"@code-hike/lighter@0.7.3":
version "0.7.3"
resolved "https://registry.yarnpkg.com/@code-hike/lighter/-/lighter-0.7.3.tgz#729a7ab484f11069d258c34dfe39be918f093e39"
integrity sha512-IW3nBrnQRSoYDY2suXUjNZegCGVH3ljEH5w51chazy30s103CdpwSwvFya3e6GbY/xfbyAVj+Uyg6HH4L5T6tw==
"@code-hike/lighter@0.8.2":
version "0.8.2"
resolved "https://registry.yarnpkg.com/@code-hike/lighter/-/lighter-0.8.2.tgz#21fe70c339b645718606a8aa301f15524e5f829f"
integrity sha512-h7PA2+90rIRQWamxeHSpcgVLs9hwhz8UW8+RG+vYIYh2Y4F2GTa4c+7S5HQH/BKTyMPv5yrSCEwhCB605gO5og==
dependencies:
ansi-sequence-parser "^1.1.0"

"@codesandbox/sandpack-client@^0.19.0":
version "0.19.0"
Expand Down Expand Up @@ -1964,6 +1966,11 @@ ansi-regex@^5.0.1:
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==

ansi-sequence-parser@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz#4d790f31236ac20366b23b3916b789e1bde39aed"
integrity sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==

ansi-styles@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
Expand Down