Code Monkey home page Code Monkey logo

Comments (3)

muenzpraeger avatar muenzpraeger commented on June 28, 2024

One question, one answer. ;-)

Question: what did you use for highlighting? Haven't seen/couldn't find terminal as a definition, so would like to take a look.

Answer: yes, that's the best way. Recently doc'd here (2nd example).

from shiki.

babakfp avatar babakfp commented on June 28, 2024

Hey
Thank you...

I don't have anything to show related to terminal highlighting because it never existed. I was using it as a placeholder, so I wasn't getting any highlighting from it. When I started using Shiki, I replaced the terminal placeholder with cmd and I got some highlighting. Now, what do I mean by adding a new terminal highlighting? Can you spot the difference between ("terminal example in vsCode terminal", and "cmd example")? A new highlighting lang that highlights like vscode terminal... It's similar to cmd but a bit different...

from shiki.

muenzpraeger avatar muenzpraeger commented on June 28, 2024

Ah - that makes now so much sense for me.

"Terminal" is just the app name in VS Code. And a general term used for shell interfaces like cmd, sh, zsh...

What you are looking for is powershell, which you also can identify via the PS at the start of each line.

from shiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.