harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
36 stars 30 forks source link

Add link anchors with resource slug in reading mode; fixes #1918 #1921

Closed lizadaly closed 1 year ago

lizadaly commented 1 year ago

@clare-stanton noted that some hyperlinks from the TOC didn't seem to always work—this was simply due to the fact that link-type sections are handled with different markup and were missing their ids/anchors.