Skip to content

Commit

Permalink
Merge pull request #402 from code-hike/terminal-highlighting
Browse files Browse the repository at this point in the history
Terminal highlighting
  • Loading branch information
pomber authored Jul 25, 2023
2 parents fecddba + 347cd90 commit 6182f45
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 5 deletions.
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/[email protected]":
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/[email protected]":
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

0 comments on commit 6182f45

Please sign in to comment.