这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature: Level 5 headers (H5) are not bold, cannot be linked to #5070

@Eduardo06sp

Description

@Eduardo06sp

Checks

  • I have thoroughly read and understand The Odin Project Contributing Guide
  • The title of this issue follows the Bug: brief description of bug format, e.g. Bug: Lesson complete button does not update on click
  • Would you like to work on this issue?

Bug description

Look at the H5 headers in this section: https://www.theodinproject.com/lessons/ruby-basic-data-types#common-string-methods
Image

  1. They are not bold.
  2. Unlike H1-H4 headers, you cannot click on H5 headers to produce an anchor link (like I did in the beginning of this message).

I came across this when adding H5 headers to the curriculum: TheOdinProject/curriculum#29910.

How to reproduce

  1. Visit any lesson that contains H5 headers, such as this one: https://www.theodinproject.com/lessons/ruby-basic-data-types#common-string-methods
  2. Look at the H5 headers.
  3. Try to click on the H5 headers.

Expected behavior

  1. Visit any lesson containing H5 headers.
  2. Look at the H5 headers and see that they are bold.
  3. Click on the H5 headers to create an anchor link that can be copied from the URL bar of your browser.

What browsers are you seeing the problem on?

Chrome

What OS are you using?

Ubuntu

Discord Name

eduardo06sp

Additional Comments

I figured out how to knock out the second issue, but I'm a bit stuck on styling with Tailwind CSS.

If I'm understanding things correctly, it might be the default template used that is preventing H5 headers from being bold.

Please let me know if you want me to push my changes to fix the second issue, unless you don't want that behavior at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementInvolves a new feature or enhancement request

    Type

    No type

    Projects

    Status

    📋 Backlog / Ideas

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions