# nickcheng/markdown-preview SLOC report

> nickcheng/markdown-preview: 36,075 code lines at commit 2311ad9f3c49, counted with tokei-15.0.0 on 2026-11-03. Saved result 0480ef9eae30fa4680518044c8ec269d04b529f5f447ee26c7cffc5bab560c3c.

nickcheng/markdown-preview has 36,075 source lines of code out of 46,991 total lines across 167 files, counted with tokei from the main ref at commit 2311ad9f3c49 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nickcheng/markdown-preview to commit 2311ad9f3c49, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

nickcheng/markdown-preview: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## 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 on November 3, 2026. Canonical report: https://octocounts.com/github/nickcheng/markdown-preview/commit/2311ad9f3c49de550765382724337d4e6e8bff8b?reportId=0480ef9eae30fa4680518044c8ec269d04b529f5f447ee26c7cffc5bab560c3c&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

nickcheng/markdown-preview has 36,075 lines of code, plus 6,739 comment lines and 4,177 blank lines, for 46,991 total lines at commit 2311ad9f3c49 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### 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 November 3, 2026.

## Similar repository reports

- [DanielOu1208/aerivoice](https://octocounts.com/github/DanielOu1208/aerivoice) — Swift, 36,377 code lines
- [ARahim3/DigUp](https://octocounts.com/github/ARahim3/DigUp) — Swift, 35,676 code lines
- [MxIris-LyricsX-Project/LyricsX](https://octocounts.com/github/MxIris-LyricsX-Project/LyricsX) — Swift, 35,021 code lines
- [xtool-org/xtool](https://octocounts.com/github/xtool-org/xtool) — Swift, 34,217 code lines
- [azooKey/azooKey](https://octocounts.com/github/azooKey/azooKey) — Swift, 38,745 code lines
- [johnbean393/Sidekick](https://octocounts.com/github/johnbean393/Sidekick) — Swift, 39,315 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
