Skip to content

Instantly share code, notes, and snippets.

@CodeByAidan
Last active February 19, 2025 23:19
Show Gist options
  • Save CodeByAidan/bb43bdb1c07c0933d8b67c23515fb912 to your computer and use it in GitHub Desktop.
Save CodeByAidan/bb43bdb1c07c0933d8b67c23515fb912 to your computer and use it in GitHub Desktop.
No vertical bar for h1 and h2 with GitHub Markdown, fixed!

    Hi, I'm Aidan

<div id="toc">
  <ul align="center" style="list-style: none">
    <summary>
      <h1>
        Hi, I'm Aidan
        <img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" width="35">
      </h1>
    </summary>
  </ul>
</div>
@CodeByAidan
Copy link
Author

CodeByAidan commented Aug 7, 2024

    H1

<div id="toc">
  <ul align="center" style="list-style: none">
    <summary>
      <h1>
        H1
      </h1>
    </summary>
  </ul>
</div>

    H2

<div id="toc">
  <ul align="center" style="list-style: none">
    <summary>
      <h2>
        H2
      </h2>
    </summary>
  </ul>
</div>

@ayeniswe
Copy link

ayeniswe commented Oct 2, 2024

Good find very helpful !

@T1ckbase
Copy link

T1ckbase commented Oct 6, 2024

Awesome!

@lifeinchords
Copy link

curious, why not hide the border directly, like

<h1 align="center" style="border-bottom: none;">
   Hi
</h1>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment