From 9af190000b414f35b96dc8a77f71cb9ad409ff3e Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Tue, 6 Oct 2020 21:02:13 +0800 Subject: [PATCH] fix: markdown code background color closes #108 --- lib/widgets/markdown_view.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/widgets/markdown_view.dart b/lib/widgets/markdown_view.dart index 23d87d7c..12857c55 100644 --- a/lib/widgets/markdown_view.dart +++ b/lib/widgets/markdown_view.dart @@ -81,6 +81,7 @@ class MarkdownView extends StatelessWidget { a: _basicStyle.copyWith(color: theme.palette.primary), p: _basicStyle, code: _basicStyle.copyWith( + backgroundColor: theme.palette.grayBackground, fontSize: 16 * 0.85, height: 1.45, fontFamily: code.fontFamilyUsed,