In some cases, the title of the note (i.e. "(i) Note") gets left on one page and the body of the note gets placed on the next.
This is the fairly standard Jekyll include I'm using for notes. The bit that gets left behind is <b>Note</b> but I can't simply append it to the included content because the note title will change depending on whether this is a Tip, Note, Important, Caution, etc.
I've tried to attach a class to the tag that contains "Note" but I'm not certain what the best way is to keep it together with whatever gets generated from {{include.content}}.
This is the fairly standard Jekyll include I'm using for notes. The bit that gets left behind is <b>Note</b> but I can't simply append it to the included content because the note title will change depending on whether this is a Tip, Note, Important, Caution, etc.
<div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note</b><br> {{include.content}}</div>
I've tried to attach a class to the tag that contains "Note" but I'm not certain what the best way is to keep it together with whatever gets generated from {{include.content}}.