summaryrefslogtreecommitdiff
path: root/src/renderer.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move outer_backticks to a util moduleA Farzat11 days1-19/+4
| | | | | | | | This is because it shall be used by other functions later on. It was made more generic by accepting raw bytes instead of strictly UTF-8 strings. This allows future functions to call it without having to convert the contents to UTF-8 strings first.
* Skip placeholder for large files by defaultA Farzat11 days1-1/+34
|
* Skip placeholder for binary files by defaultA Farzat11 days1-1/+23
|
* Refactor language detection in a util moduleA Farzat2026-06-071-26/+5
|
* Detect bash using shebangA Farzat2026-06-071-4/+20
|
* Start adding shebang filetype detectionA Farzat2026-06-071-3/+34
|
* Detect uppercase file extensionsA Farzat2026-06-071-1/+18
|
* Detect python and json filesA Farzat2026-06-071-0/+26
|
* Skip language fences for text or unknown filetypesA Farzat2026-06-071-2/+22
|
* Start adding language fence functionalityA Farzat2026-06-071-4/+4
|
* Move happy-path of render_file to a separate funcA Farzat2026-06-071-0/+4
|
* Standardize format in Logger and add Verbose levelA Farzat2026-06-071-5/+9
| | | | | I kind of want verbose level now as I want to know which files got included.
* Rename project_name to project_titleA Farzat2026-06-061-2/+2
|
* Delegate logging management to Logger structA Farzat2026-06-061-4/+14
| | | | Allows verbosity management in a centralized way.
* Move render_filename to utils as display_pathA Farzat2026-06-061-17/+6
|
* Add warnings for binary filesA Farzat2026-06-051-0/+8
|
* Add human readable warnings for large filesA Farzat2026-06-051-1/+37
|
* Make main.rs use render_pathA Farzat2026-06-051-1/+1
|
* Test rejection of too big filesA Farzat2026-06-051-2/+63
|
* Remove the deprecated renderer functionA Farzat2026-06-051-33/+1
|
* Migrate renderer tests to RendererA Farzat2026-06-051-95/+29
|
* Test binary file rendering in RendererA Farzat2026-06-051-4/+28
|
* Test single file rendering in RendererA Farzat2026-06-051-2/+26
|
* Start migrating to Renderer structA Farzat2026-06-051-1/+26
| | | | | | The struct should gradually replace the renderer function in a more streamlined and configurable way. It writes directly to sink, and takes filepaths instead of preloaded buffers.
* Remove quotations around filenamesA Farzat2026-06-051-8/+17
| | | | Apparently they consume tokens and dilute attention for no benefit.
* Make headers more descriptive for LLMsA Farzat2026-06-051-13/+6
|
* Escape non-standard paths in the markdown fileA Farzat2026-06-041-21/+47
|
* Start adding CLI testsA Farzat2026-06-041-0/+14
|
* Identify and reject binary filesA Farzat2026-06-041-11/+34
|
* Safely escape files with backticksA Farzat2026-06-041-1/+60
|
* Add a renderer module to render markdown contentA Farzat2026-06-041-0/+38