From c998b07cc6106acb15b0d506e35607f4983cf3dd Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 5 Feb 2023 14:49:32 -0500 Subject: [PATCH] [ci] Fix readme for formatter tags --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e34bcd31b92..1357bb7be12 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Contributions Mybatis-core is now being auto formatted. Given nature of some code logic with mybatis, it is more appropriate to force a formatting structure manually for snippets such as sql statements. To do so, add following blocks around code. - ```// @formatter:off``` to start the block of unformatted code - ```// @formatter:off``` to end the block of unformatted code +- ```// @formatter:off``` to start the block of unformatted code +- ```// @formatter:on``` to end the block of unformatted code If comment sections need same behaviour such as javadocs, note that the entire block must be around entire comment as direct usage does not properly indicate that formatter treats it all as one comment block regardless.