Skip to content

How to remove underline on H1 text style in readme file #132530

Discussion options

You must be logged in to vote

I finally found a fix for this.... 4 hours of pain... I wrote an entire essay to help someone on Stack Overflow, this should explain everything.

https://stackoverflow.com/a/78845294/21147004

Also see here for the working example: https://gist.github.com/CodeByAidan/bb43bdb1c07c0933d8b67c23515fb912

So, if all you wanted was a <h1> My Text </h1>, it can be transformed into this:

<div id="toc">
  <ul style="list-style: none">
    <summary>
      <h1> My Text </h1>
    </summary>
  </ul>
</div>

Result:

    My Text

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@bravo-phantom
Comment options

@bravo-phantom
Comment options

Comment options

You must be logged in to vote
3 replies
@bravo-phantom
Comment options

@davevad93
Comment options

@CodeByAidan
Comment options

Comment options

You must be logged in to vote
2 replies
@bravo-phantom
Comment options

@davevad93
Comment options

Answer selected by bravo-phantom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment