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

Implement syntax highlighting and indentation for code blocks. #543

Open
mike-holbrook-bc opened this issue Oct 9, 2024 · 0 comments
Open

Comments

@mike-holbrook-bc
Copy link

mike-holbrook-bc commented Oct 9, 2024

Code blocks can have syntax highlighting implemented by adding the appropriate language to the right of the backticks beginning the code block. Additionally, indentation can be applied by inserting a > symbol and a space before the backticks and on all lines inside the code block.
E.g.

> ```http
> <http request/response data>
>
> ```

Without highlighting and indentation:
image

With highlighting and indentation:
image

This should be used on all code blocks within templates as it increases the readability of the overall report.

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

No branches or pull requests

1 participant