/
For the complete documentation index, see llms.txt. This page is also available as Markdown.
The .read {path} docs ↗ function returns the string content of the specified file.
The
pathparameter can be either a path relative to the main source file’s location or an absolute path. Use a slash (/) as the path separator, regardless of the operating system.
An optional lines parameter of type Range selects a specific range of lines (inclusive, starting from 1). An invalid or out-of-bounds range causes an error. If you do not provide a range, Quarkdown reads the entire file.
.read {myfile.txt} lines:{3..8}Open ranges work as follows:
..N), Quarkdown reads from the beginning of the file to line N.N..), Quarkdown reads from line N to the end of the file...), Quarkdown reads the entire file.