diff --git a/topics/reference_guide/custom_language_support/code_formatting.md b/topics/reference_guide/custom_language_support/code_formatting.md index 7c780cfc7..d066f7a78 100644 --- a/topics/reference_guide/custom_language_support/code_formatting.md +++ b/topics/reference_guide/custom_language_support/code_formatting.md @@ -27,7 +27,7 @@ Its children cover individual classes in the file, blocks on the next level cove The formatter modifies only the characters between blocks, and the tree of blocks must be built so that the bottom-level blocks cover all non-whitespace characters in the file. Otherwise, the characters between blocks may be deleted by the formatter. -For better understanding how to build the blocks structure, use [PsiViewer](https://plugins.jetbrains.com/docs/intellij/explore-api.html#31-use-internal-mode-and-psiviewer) and inspect formatting +For better understanding how to build the blocks structure, use [PsiViewer](explore_api.md#31-use-internal-mode-and-psiviewer) and inspect formatting blocks built for an existing language: ![Formatting Blocks Structure](psi_viewer_formatting_blocks.png){width="720"}