Skip to content

Instantly share code, notes, and snippets.

@CodeByAidan
Last active August 31, 2026 12:47
Show Gist options
  • Select an option

  • Save CodeByAidan/bb43bdb1c07c0933d8b67c23515fb912 to your computer and use it in GitHub Desktop.

Select an option

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

CodeByAidan commented Aug 7, 2024

Copy link
Copy Markdown
Author

    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

ayeniswe commented Oct 2, 2024

Copy link
Copy Markdown

Good find very helpful !

@T1ckbase

T1ckbase commented Oct 6, 2024

Copy link
Copy Markdown

Awesome!

@lifeinchords

Copy link
Copy Markdown

curious, why not hide the border directly, like

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

@taqi110913

taqi110913 commented Sep 6, 2025

Copy link
Copy Markdown

curious, why not hide the border directly, like

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

It doesn't work. It will look like this:

Hi

Try the solution that @CodeByAidan did, or this:
<div align="center">
    <summary>
      <h1>
        Hi!
      </h1>
    </summary>
</div>

This will result in this:

Hi!

BUT there will be a little bullet over there 😅

@olivia234234234234-source

Copy link
Copy Markdown

A clean and creative username really changes how people remember you in games and online communities. I noticed many players now prefer names with symbols, compact fonts, or stylish PUBG-inspired designs instead of random numbers. I recently tested some ideas from https://stylishnamees.com/stylish-names-for-pubg-2026/ and found a few formats that work nicely across PUBG, Free Fire, and Discord profiles without looking overdone. Simple styling with readable symbols usually stands out more during matches and clan searches.

@Hollis1290

Copy link
Copy Markdown

This is a useful GitHub Markdown workaround because the usual border-bottom: none approach on the

doesn’t actually remove GitHub’s rendered heading border. Wrapping the heading in the suggested
and structure gives much better control over the appearance. It’s a good example of how GitHub’s Markdown rendering can require a little experimentation beyond standard HTML/CSS. For experimenting with creative typography and Unicode text styles, https://stylishnameez.com/ also offers plenty of options to explore.

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