pursuit icon indicating copy to clipboard operation
pursuit copied to clipboard

Document `#` headers being stripped from READMEs on Pursuit

Open ursi opened this issue 5 years ago • 3 comments

I just realized the # headers on my README are not being displayed on pursuit. GitHub Pursuit

ursi avatar Nov 29 '20 20:11 ursi

Yes, this is by design. Usually the h1 headings, ie those introduced by a single #, contain the library name; we remove them in Pursuit because otherwise it would be duplicated. You shouldn’t really have more than one of those per file. You can fix this by just demoting each heading: each # should become ##, each ## should become ###, and so on.

hdgarrood avatar Nov 29 '20 21:11 hdgarrood

I see, is this behaviour documented anywhere?

ursi avatar Nov 29 '20 22:11 ursi

It’s not, unfortunately. There’s a help page for package authors here: https://pursuit.purescript.org/help/authors which would be the place to put it.

hdgarrood avatar Nov 29 '20 23:11 hdgarrood