asjqkkkk / markdown_widget

📖Rendering markdown by flutter!Welcome for pr and issue.
MIT License
312 stars 90 forks source link

custom config divider not work #152

Closed OpenJarvisAI closed 7 months ago

OpenJarvisAI commented 7 months ago

去掉h2的divider无法生效

class MyH2Config extends HeadingConfig { const MyH2Config({ this.style = const TextStyle( fontSize: 32, height: 40 / 32, fontWeight: FontWeight.bold, ), }); @override final TextStyle style; @override String get tag => MarkdownTag.h2.name;

@override HeadingDivider? get divider => null; }

h1 h3 可以

OpenJarvisAI commented 7 months ago

不对,均无效