Takes plain text of knitted code and converts it to a list, in which code sources have the class source.

src_to_list(knitted)

Arguments

knitted

Text of knitted code