How to remove line after H1 or # in GitHub README

131 Views Asked by At

This annoying line after the H1 just messed up the design of my README, is there a way to remove it?

My code right now is just this, i tried to search in Stack and other foruns, but sadly no good answers.

<h1 align="center"> <p> Hello World! </p> </h1>
<h1 align="center"> Eu sou Enzo Bustos </h1>
1

There are 1 best solutions below

1
blazej On

Probably custom CSS would solve it. Here you can figure out how to add it. It still works, I've just checked it. Example how to do it:

header.svg

<svg fill="none" viewBox="0 0 400 400" width="400" height="400" xmlns="http://www.w3.org/2000/svg">
    <foreignObject width="100%" height="100%">
        <div xmlns="http://www.w3.org/1999/xhtml">
            <style>
            h1 {
                border:none;
            }
            </style>
            <h1>header</h1>
        </div>
    </foreignObject>
</svg>

readme.md

<img src="header.svg" width="400" height="400" />