Skip to content

Implement syntax highlighting and indentation for code blocks. #543

@mike-holbrook-bc

Description

@mike-holbrook-bc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions