Skip to content

Commit 58e916e

Browse files
author
Sergei Orlov
committed
🔒 Hide block ids in unsupported block comments
1 parent 8358a4e commit 58e916e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/transformers/get-page-md.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ exports.getNotionPageMD = (page) =>
5353
}
5454

5555
if (block.type == "unsupported") {
56-
return acc
57-
.concat(`<!-- Block ${block.id} is not supported by Notion API. Yet. -->`)
58-
.concat(EOL_MD)
56+
return acc.concat(`<!-- This block is not supported by Notion API yet. -->`).concat(EOL_MD)
5957
}
6058

6159
return acc

0 commit comments

Comments
 (0)