Closed Shreedhar73 closed 9 months ago
Hi @Shreedhar73 , you can custom your HeadingConfig
with a null HeadingDivider
, and then pass them to MarkdownConfig
@asjqkkkk Thanks for the response,
I did that and it is working.
@Shreedhar73 Can u tell me how u add it>
@OpenJarvisAI
I made a new class that extended the existing H1Config and then on override the divider getter with desired value , and used that in configs list .
For eg :
class CustomH1Config extends H1Config {
const CustomH1Config({
this.style = const TextStyle(
......
),
});
// @override
@override
final TextStyle style;
static H1Config get darkConfig => const H1Config(
style: TextStyle(
fontSize: 32,
height: 40 / 32,
color: Colors.white,
fontWeight: FontWeight.bold,
),
);
@override
HeadingDivider? get divider => null;
}
And on MarkdownWidget
configs : [
CustomH1Config()
] ```
I want to remove those lines above Classical antiquity and the end of each paragraph?
I can see , the divider for h1 here in code .