Function to find reference text
find_reference_text(content, chunk_label, chunk_start, chunk_end)
Arguments
- content
QMD/RMD file in .txt format
- chunk_label
Chunk label
- chunk_start
Line number that the chunk starts
- chunk_end
Line number that the chunk ends