v146 · Bibliography Formatter

Bibliography Formatter

The hanging indent is the canonical use case for text-indent: 2em hanging — every bibliography entry indents subsequent lines more than the first, so citations align cleanly at a glance. Adjust the indent depth and toggle between no-indent, regular indent, and hanging to see why hanging is the right tool.

Checking text-indent hanging support…
2em

References

Berners-Lee, T., Fielding, R., & Masinter, L. (1998). Uniform Resource Identifiers (URI): Generic Syntax. RFC 2396. Internet Engineering Task Force. https://doi.org/10.17487/RFC2396
Bos, H., & Wium Lie, H. (1999). Cascading Style Sheets, level 2: CSS2 Specification. W3C Recommendation. World Wide Web Consortium. https://www.w3.org/TR/CSS2/
Fielding, R. T., & Taylor, R. N. (2002). Principled design of the modern Web architecture. ACM Transactions on Internet Technology, 2(2), 115–150. https://doi.org/10.1145/514183.514185
Mozilla Developer Network. (2024, January 15). text-indent — CSS: Cascading Style Sheets. MDN Web Docs. https://developer.mozilla.org/en-US/docs/Web/CSS/text-indent
World Wide Web Consortium. (2023). CSS Text Module Level 3. W3C Recommendation. https://www.w3.org/TR/css-text-3/
/* Applied CSS */
.bib-entry {
  text-indent: 2em hanging;
}