#1033·makepad

[BUG] - Markdown widget does not render strikethrough

Author: poborinCreated Apr 10, 2026Updated Jun 5, 2026

The Markdown widget renders text as literal tildes instead of applying strikethrough formatting.

Root cause: The pulldown_cmark parser is initialized with Options::ENABLE_TABLES | Options::ENABLE_MATH but Options::ENABLE_STRIKETHROUGH is not included. Without this flag, the parser does not emit Start(Tag::Strikethrough) / End(TagEnd::Strikethrough) events - the ~~ markers are passed through as plain text.

Fix: Add Options::ENABLE_STRIKETHROUGH to the parser options at widgets/src/markdown.rs:314: Options::ENABLE_TABLES | Options::ENABLE_MATH | Options::ENABLE_STRIKETHROUGH

The TextFlow engine already handles Strikethrough start/end events (pushes/pops tf.strikethrough) and the FlowBlockType::Strikethrough shader arm draws a line through the text at 45% height - so only the parser flag is missing.

Image