Ignore more blocks when getting plaintext

This commit is contained in:
Jake Howard 2022-09-25 21:54:02 +01:00
parent 9216898f5f
commit 1f5e151314
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -63,6 +63,8 @@ IGNORE_PLAINTEXT_BLOCKS = (
EmbedBlock,
ImageCaptionBlock,
CodeBlock,
MermaidBlock,
IFrameBlock,
)
IGNORE_HEADING_BLOCKS = (*IGNORE_PLAINTEXT_BLOCKS, LoremBlock)