# nickcheng/markdown-preview SLOC report

> As of 2026-10-14 (commit 2311ad9f3c49), nickcheng/markdown-preview contains 46,991 total lines: 36,075 code, 6,739 comments, 4,177 blank, across 167 files in 10 languages (top: Swift 66.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nickcheng/markdown-preview has 36,075 source lines of code out of 46,991 total lines across 167 files, counted from the main ref at commit 2311ad9f3c49 by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving nickcheng/markdown-preview to commit 2311ad9f3c49, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 76.8% of all lines, comments represent 14.3%, and the repository averages 216 code lines per file. Swift accounts for 66.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Swift | 107 | 30,426 | 23,839 | 4,024 | 2,563 |
| JavaScript | 10 | 9,425 | 8,908 | 222 | 295 |
| JSON | 9 | 1,718 | 1,718 | 0 | 0 |
| Python | 12 | 1,270 | 1,072 | 35 | 163 |
| Shell | 5 | 730 | 506 | 130 | 94 |
| XML | 1 | 29 | 28 | 0 | 1 |
| Xcode Config | 1 | 7 | 3 | 2 | 2 |
| CSS | 1 | 1 | 1 | 0 | 0 |
| Markdown | 16 | 2,700 | 0 | 1,800 | 900 |
| Plain Text | 5 | 685 | 0 | 526 | 159 |

Top language (Swift 66.1%). Generated at 2026-10-14T07:39:07.884641231+00:00. Canonical report: https://octocounts.com/github/nickcheng/markdown-preview

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nickcheng/markdown-preview/commit/2311ad9f3c49de550765382724337d4e6e8bff8b?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=7a7016b09320f78e1c438de6d3d988a6bd78440d984fddd2c70d6b861a78a029).

## Report FAQ

### How many lines of code does nickcheng/markdown-preview have?

nickcheng/markdown-preview has 46,991 total lines, including 36,075 code lines, 6,739 comment lines, and 4,177 blank lines.

### How was the nickcheng/markdown-preview line count measured?

OctoCounts resolved the public GitHub repository to commit 2311ad9f3c49, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for nickcheng/markdown-preview?

This OctoCounts report was generated from main at commit 2311ad9f3c49 on 2026-10-14T07:39:07.884641231+00:00.

## Similar repository reports

- [pluk-inc/markdown-preview](https://octocounts.com/github/pluk-inc/markdown-preview) — Swift, 35,913 code lines
- [FrizzleM/SideInstaller](https://octocounts.com/github/FrizzleM/SideInstaller) — Swift, 35,344 code lines
- [DanielOu1208/aerivoice](https://octocounts.com/github/DanielOu1208/aerivoice) — Swift, 35,318 code lines
- [OpenBMB/MiniCPM-V-Apps](https://octocounts.com/github/OpenBMB/MiniCPM-V-Apps) — Swift, 37,455 code lines
- [azooKey/azooKey](https://octocounts.com/github/azooKey/azooKey) — Swift, 37,888 code lines
- [omacom/try-omarchy](https://octocounts.com/github/omacom/try-omarchy) — Swift, 33,262 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
