Closed matloob closed 8 months ago
Here's a program that runs goldmark and markdown on the following input: https://go.dev/play/p/rTnPTxps_zw
<p align="center"> <h1>Text</h1> body </p>
It's hard for me to tell exactly what github is doing with this input, but it doesn't seem like it's putting the h1 into a p:
Here's the output of the program:
markdown: <p align="center"> <p><h1>Text</h1> body</p> </p> goldmark: <p align="center"> <h1>Text</h1> body </p>
Here's a program that runs goldmark and markdown on the following input: https://go.dev/play/p/rTnPTxps_zw
It's hard for me to tell exactly what github is doing with this input, but it doesn't seem like it's putting the h1 into a p:
Text
bodyHere's the output of the program: