Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .EX/.EE to typeset code blocks #95

Merged
merged 3 commits into from Apr 27, 2023
Merged

Conversation

kolyshkin
Copy link
Contributor

No description provided.

There is no need to indent section contents. More to say, this results
in wrong indentation in the resulting man page.

While at it, capitalize section names.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
1. Use some standard formatting rules, such as
 - literals are bold;
 - variables are italic;
 - file names are italic (even when literal);
 - use ``` for code blocks.

2. Add an example with shell redirection.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
A pair of man macros named .EX and .EE are specifically created for
things like code examples. This is ideally suited to typeset markdown
code wrapped into ``` pairs.

Add a simple test case.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@cpuguy83 cpuguy83 merged commit aab1666 into cpuguy83:master Apr 27, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants