Giter VIP home page Giter VIP logo

Comments (2)

LauraLangdon avatar LauraLangdon commented on August 10, 2024

@flaki Is there a way I can refer to the support status of a language using whatever is displaying that info in the images below?

image

image

It looks like it should be something to do with the MultiLanguageCodeBlock but I'm not sure how to reference the status without generating a whole code block. I'm looking at the declaration for it and I don't know JS or React well enough to figure out how to refer to just the status. I think maybe the statuses are aggregated in the getCodeBlockLangs function?

from docs.

flaki avatar flaki commented on August 10, 2024

Oh but this page already exists!
https://docs.suborbital.dev/reactr/language-support/

One things it's still missing though, is this part:

In Usage → Creating runnables we should reference this page for possible values of the --lang parameter.

That said, to answer your question, currently these badges are sort of hacked into MultiLanguageCodeBlock, and I had plans to make them their own components (and with that, make them available separately) but haven't gotten to it yet. I'll file an issue for that separately so that we can track that!

@LauraLangdon do you think you could look into subo's --lang values and add the corresponding values to the language support page above (somewhere where it's appropriate, I'll leave the formatting to you) that we can close this issue? That page is a little stubby anyway so much more updates will come as we continue documenting our runnable language support!

from docs.

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.