standard / standard-www

:point_up_2: Website for JavaScript Standard Style (@standard)
https://standardjs.com
ISC License
31 stars 14 forks source link

Wrong syntax for Node.js API reference's function call #28

Closed theNaut1lus closed 5 years ago

theNaut1lus commented 5 years ago

URL: https://standardjs.com/#is-there-a-nodejs-api

Screenshot

Screenshot 2019-03-28 at 10 54 32 PM

here in although I understand the reason for making the standard.lintText() function to have a bold and large syntax (Heading Syntax) but the whole flow of the website determines that any code block or line is kept in pre-formatted syntax.

This could be changed so as to have a small introduction instead of just a small yes answer and maybe shifting the standard.lintText() into pre-formatted syntax to keep consistency

LinusU commented 5 years ago

It indeed seems a bit weird that it's a heading, with an anchor link and all...

PRs welcome 👍

theNaut1lus commented 5 years ago

@LinusU please review