asjqkkkk / markdown_widget

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

custom config divider not work #152

Closed OpenJarvisAI closed 10 months ago

OpenJarvisAI commented 10 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 10 months ago

不对,均无效