paulrosen / abcjs

javascript for rendering abc music notation
Other
1.9k stars 281 forks source link

Displaying multiline notes (N:) #959

Open brianshano opened 10 months ago

brianshano commented 10 months ago

I have a few tunes with variable lines and length Notes element N: where it seems to limit it to only one line. Is there a way I can configure it to display all the text in wrapped lines?

Example:

X:252047 T:KILFENORA JIG (2), The C:Foinn Seisiún B:FS2.06c N:Most sources refer to this as "Kilfenora #2". I’m hoping that eventually it will become “Jerry Lynch’s”, in honor of one of the founding members of the Kilfenora Ceili Band who passed away in 2011. M:6/8 Q:1/4=160 L:1/8 R:Jig K:D F2A ABA|ABA FED|G2B B2A|B2A Bcd| F2A ABA|ABA FED|dcB AGF|GFE D3 :| d2A F2A|DFA d3|dcB AGF|EFG ABc| d2A F2A|DFA d3|dcB AGF|GFE D3 :|

paulrosen commented 10 months ago

Unfortunately you will need to figure out where you want the line breaks yourself and have multiple N: lines. In the above case, the following would work:

N:Most sources refer to this as "Kilfenora #2". I’m hoping that eventually 
N:it will become “Jerry Lynch’s”, in honor of one of the founding members of the 
N:Kilfenora Ceili Band who passed away in 2011.

I see where it would be useful to have line wrapping, but it just isn't implemented yet.