convert c:note/@type to @data-label

Also, some CSS to go along with it:

    .note[data-label]::before { content: attr(data-label); }
    .note:not([data-label])::before { content: "Note"; }