Skip to content

Ordered list number's font overrides font settings #105

@Gigas002

Description

@Gigas002

Writing markdown ordered list, e.g:

  1. Something
  2. Something else

results in numbers on the left rendered differently, even though color is set properly:

  GptMarkdownTheme _getTermsOfUseMarkdown(
    BuildContext context,
  ) => GptMarkdownTheme(
    gptThemeData: GptMarkdownTheme.of(context).copyWith(
      h3: HeadlineTextStyle,
    ),
    child: GptMarkdown(
      Strings.current.termsOfUse,
      style: BodyTextStyle,
    ),
  );

Enforcing fontFamily here, in BodyTextStyle, fixes the issue, but requires having same font on both ios and android devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIdentifies reported bugs or unexpected behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions