.net function to convert from chordpro to html/svg
$10-30 USD
Completed
Posted almost 4 years ago
$10-30 USD
Paid on delivery
hi
i would like some vb.net code (c# acceptable) that takes chordpro notation text, such as
[Am]Hello [C]World
and formats it to html with the chords on top of the relevant words
actually its what this site does [login to view URL]
with the little pics by the side
please keep in mind that i some lyrics might be right to left, so dont use floats or any other ltr only formatting. best use flex etc
also please dont use tables, since the width is flexible, and line breaks are unimportant
i need a function that takes a string in chordpro format and return an html string
sample for acceptable output (chord section):
<div style="display:flex;font-size:28px;flex-wrap: wrap"><div ><span style="display:block;font-weight:bold">Em</span><span style="display:block;">Mary</span></div><div><span style="display:block;font-weight:bold">Am</span><span style="display:block">had</span></div><div><span style="display:block;font-weight:bold">C</span><span style="display:block">a little lamb</span></div>
<div ><span style="display:block;font-weight:bold">B7</span><span style="display:block;">little lamb</span></div><div><span style="display:block;font-weight:bold">Am</span><span style="display:block">little lamb</span></div><div><span style="display:block;font-weight:bold">C</span><span style="display:block">Mary had a little lamb</span></div>
</div>
the little pics by the side should be svg. not javascript on canvas.
PS. please send fixed price only
I have 20 years experience working in IT and for the last seven years working in .NET (both C# and VB). I have worked with desktop and web applications, so converting to HTML won't be a problem.