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.
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.
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.
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 | 30426 | 23839 | 4024 | 2563 |
| JavaScript | 10 | 9425 | 8908 | 222 | 295 |
| JSON | 9 | 1718 | 1718 | 0 | 0 |
| Python | 12 | 1270 | 1072 | 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 | 2700 | 0 | 1800 | 900 |
| Plain Text | 5 | 685 | 0 | 526 | 159 |
Top language (Swift 66.1%). Generated at .
nickcheng/markdown-preview has 46,991 total lines, including 36,075 code lines, 6,739 comment lines, and 4,177 blank lines.
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.
This OctoCounts report was generated from main at commit 2311ad9f3c49 on 2026-10-14T07:39:07.884641231+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for nickcheng/markdown-preview on this page — 36,075 code lines across 10 languages, counted by tokei.