|
1 | | -# Prism Github themes |
2 | | -[](LICENSE) [](https://github.com/katorlys/prism-theme-github/pulls) [](https://github.com/katorlys/prism-theme-github/issues) [](https://github.com/katorlys/prism-theme-github) [](https://www.npmjs.com/package/prism-theme-github) |
3 | | - |
4 | | -Real Github themes for [Prism.js](https://prismjs.com). Themes based on [Github](https://github.com). |
| 1 | +<a name="readme-top"></a> |
| 2 | +<div align="center"> |
| 3 | + |
| 4 | +<!-- <a href="#"> |
| 5 | + <img src="https://github.com/katorlys/.github/blob/main/assets/mark/mark.png" height="100"> |
| 6 | +</a><br> --> |
| 7 | + |
| 8 | +<h1> |
| 9 | + Prism Github themes |
| 10 | +</h1> |
| 11 | + |
| 12 | +<p> |
| 13 | + Real Github themes for [Prism.js](https://prismjs.com). |
| 14 | +</p> |
| 15 | + |
| 16 | +[![Pull Requests][github-pr-badge]][github-pr-link] |
| 17 | +[![Issues][github-issue-badge]][github-issue-link] |
| 18 | +[![License][github-license-badge]](LICENSE) |
| 19 | + |
| 20 | +</div> |
| 21 | + |
| 22 | + |
| 23 | +<!-- Main Body --> |
| 24 | + |
| 25 | +## Introduction |
| 26 | +Real Github themes for [Prism.js](https://prismjs.com). |
| 27 | + |
| 28 | +Based on [Github](https://github.com). |
| 29 | + |
| 30 | + |
5 | 31 | ## Themes |
6 | 32 | ### Github Light |
7 | | -[<img width="33%" src="/screenshots/github-light.png">](/themes/prism-theme-github-light.css) |
| 33 | +[](/themes/prism-theme-github-light.css) |
8 | 34 | ```html |
9 | 35 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/katorlys/prism-theme-github/themes/prism-theme-github-light.css"> |
10 | 36 | ``` |
11 | 37 |
|
12 | | - |
13 | 38 | ### Github Dark |
14 | | -[<img width="33%" src="/screenshots/github-dark.png">](/themes/prism-theme-github-dark.css) |
| 39 | +[](/themes/prism-theme-github-dark.css) |
15 | 40 | ```html |
16 | | -<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/katorlys/prism-theme-github/themes/prism-theme-github-light.css"> |
| 41 | +<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/katorlys/prism-theme-github/themes/prism-theme-github-dark.css"> |
17 | 42 | ``` |
18 | 43 |
|
19 | 44 | ### Github Copilot |
| 45 | +[](/themes/prism-theme-github-copilot.css) |
20 | 46 | ```html |
21 | 47 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/katorlys/prism-theme-github/themes/prism-theme-github-copilot.css"> |
22 | | -``` |
23 | | - |
| 48 | +``` |
| 49 | + |
| 50 | +## Usage |
| 51 | +### CDN |
| 52 | +Embed the CDN links provided above to use the themes in your project. |
24 | 53 |
|
25 | | -You may want to get them from `npm`: |
| 54 | +### npmjs |
| 55 | +Or get the themes from npmjs: |
26 | 56 | ```sh |
27 | 57 | npm install prism-theme-github |
28 | | -``` |
| 58 | +``` |
| 59 | + |
| 60 | + |
| 61 | +<!-- /Main Body --> |
| 62 | + |
| 63 | + |
| 64 | +<div align="right"> |
| 65 | + |
| 66 | +[![BACK TO TOP][back-to-top-button]](#readme-top) |
| 67 | + |
| 68 | +</div> |
| 69 | + |
| 70 | +--- |
| 71 | + |
| 72 | +<div align="center"> |
| 73 | + |
| 74 | +<p> |
| 75 | + Copyright © 2024-present <a target="_blank" href="https://github.com/katorlys">Katorly Lab</a> |
| 76 | +</p> |
| 77 | + |
| 78 | +[![License][github-license-badge-bottom]](LICENSE) |
| 79 | + |
| 80 | +</div> |
| 81 | + |
| 82 | +[back-to-top-button]: https://img.shields.io/badge/BACK_TO_TOP-151515?style=flat-square |
| 83 | +[github-pr-badge]: https://img.shields.io/github/issues-pr/katorlys/prism-theme-github?label=pulls&labelColor=151515&color=79E096&style=flat-square |
| 84 | +[github-pr-link]: https://github.com/katorlys/prism-theme-github/pulls |
| 85 | +[github-issue-badge]: https://img.shields.io/github/issues/katorlys/prism-theme-github?labelColor=151515&color=FFC868&style=flat-square |
| 86 | +[github-issue-link]: https://github.com/katorlys/prism-theme-github/issues |
| 87 | +[github-license-badge]: https://img.shields.io/github/license/katorlys/prism-theme-github?labelColor=151515&color=EFEFEF&style=flat-square |
| 88 | +<!-- https://img.shields.io/badge/license-CC_BY--NC--SA_4.0-EFEFEF?labelColor=151515&style=flat-square --> |
| 89 | +[github-license-badge-bottom]: https://img.shields.io/github/license/katorlys/prism-theme-github?labelColor=151515&color=EFEFEF&style=for-the-badge |
| 90 | +<!-- https://img.shields.io/badge/license-CC_BY--NC--SA_4.0-EFEFEF?labelColor=151515&style=for-the-badge --> |
0 commit comments