Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

[ENHANCEMENT] Give element titles distinctive style [MER-2798] #225

Closed andersweinstein closed 11 months ago

andersweinstein commented 11 months ago

In addition to captions, legacy OLI allowed titles to be associated with tables/images/iframes/audio/video clips. Torus does not have title elements associated with these. Migration was mapping them to h5 headers, which are not supported as a distinctive element in torus so render in the same way as ordinary text. This PR sets titles on labelled content to display in bold so that they are distinguished from regular text (as in legacy).

Also changes to use h6 per group discussion so they are distinctive elements unlikely to conflict with section headers even in the future.