Convert Bookdown footnotes to Leanpub-formatted footnotes

convert_footnotes(content)

Arguments

content

a character vector containing the lines of content from a file read in with readLines()

Value

a character vector containing the content given but with Leanpub formatted foonotes