Quote function not working

Consider this: there’s a relevant snippet from a post on thread A that you want to include in your response to a post on thread B. How would you do this with proper attribution (showing who you’re quoting and from which thread)?