Skip to content

Git hook formatting error causes tip block closure issue in documentation #2016

Description

@jexjws

There is a significant issue affecting documentation site:

When contributors edit and submit changes, a git hook formats the ::: blocks in markdown files like this:

::: tip Note

1. `+=`, `-=`, `*=` and `/=` are only valid in the contexts where their root operations are expected to work. For example, `+=` uses addition, so it can not be used for contexts where addition would normally fail
2. `++=` requires that either the variable **or** the argument is a list.
   :::

However, as seen on this page, the incorrect indentation of the closing ::: causes the tip block to not close properly, resulting in rendering errors.

图片

This issue affects the readability and formatting of the documentation. Please investigate and fix the git hook or formatting script responsible for this behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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