Only double-space paragraphs containing chord tags.
Requirement
Identify whether a paragraph has chord tags or not
If no tags, skip chord processing (which double-spaces the paragraph)
Example
Sample input:
And it's [5]no, nay, never,
[1]No nay never no [4]more,
Will I [1]play the wild [4]rover
No [5]never no [1]more
I went in to an ale-house I used to frequent
And I told the landlord that my money was spent.
I asked him for credit, he answered me "Neigh!
Such a custom as yours I could have any day."
Sample output:
5
And it's no, nay, never,
1 4
No nay never no more,
1 6m
Will I play the wild rover
5 1
No never no more
I went in to an ale-house I used to frequent
And I told the landlord that my money was spent.
I asked him for credit, he answered me "Neigh!
Such a custom as yours I could have any day."
Overview
Only double-space paragraphs containing chord tags.
Requirement
Example
Sample input:
Sample output: