nginx / unit-docs

NGINX Unit's official website and documentation
https://unit.nginx.org
Creative Commons Attribution 4.0 International
50 stars 99 forks source link

Inconsistent / Wrong formatting of CLI commands #86

Closed tippexs closed 3 months ago

tippexs commented 4 months ago

On various places on the Website we have an inconsistency about the formatting of commands. Examples:

image

image

Sometimes CLI commands are just highlighted sometimes they are just italic. But there is no consistency. I would like to implement the following: "if it's going in a CLI use inline code formatting. if it's not going in a CLI, don't"

As an example, based on the NGINX Docs style guide, it should look like this for ALL cli commands.

image

Jcahilltorre commented 3 months ago

Updated the formatting to follow NGINX style guide. https://github.com/nginx/unit-docs/pull/94