/webcomponents/highlight-code/README.md

https://github.com/deckgo/deckdeckgo · Markdown · 34 lines · 21 code · 13 blank · 0 comment · 0 complexity · 225e6cdb581506aae993e6d2cfff7473 MD5 · raw file

  1. # DeckDeckGo - Highlight Code
  2. This component is the code highlighter of [DeckDeckGo].
  3. It is developed with [Stencil](https://stenciljs.com) and use [Prism.js](https://prismjs.com) from [Lea Verou](http://lea.verou.me) and [James DiGioia](https://twitter.com/jamesdigioia) for the highlighting itself.
  4. Furthermore, the inspiration for the design of the cards comes from the amazing [carbon](https://carbon.now.sh), a tool to create and share beautiful images of your source code.
  5. ## Table of contents
  6. - [Getting Started](#getting-started)
  7. - [Develop](#develop)
  8. - [License](#license)
  9. ## Getting Started
  10. To get started with this Web Component, have a look to its [documentation](https://docs.deckdeckgo.com/components/code).
  11. ## Develop
  12. To develop and run this Web Component locally, proceed as following:
  13. ```
  14. git clone https://github.com/deckgo/deckdeckgo
  15. cd deckdeckgo/webcomponents/highlight-code
  16. npm install
  17. npm run start
  18. ```
  19. ## License
  20. MIT © [David Dal Busco](mailto:david.dalbusco@outlook.com) and [Nicolas Mattia](mailto:nicolas@nmattia.com)
  21. [DeckDeckGo]: https://deckdeckgo.com