src/HOL/Tools/Nitpick/nitpick_scope.ML
changeset 72195 16f2288b30cf
parent 69593 3dda49e08b9d
child 79799 2746dfc9ceae
--- a/src/HOL/Tools/Nitpick/nitpick_scope.ML	Sat Aug 22 20:37:31 2020 +0200
+++ b/src/HOL/Tools/Nitpick/nitpick_scope.ML	Sat Aug 22 23:11:48 2020 +0200
@@ -198,8 +198,10 @@
 
 fun multiline_string_for_scope scope =
   let
+    val code_type = Print_Mode.setmp [] o Syntax.string_of_typ o Config.put show_markup false;
+    val code_term = Print_Mode.setmp [] o Syntax.string_of_term o Config.put show_markup false;
     val (primary_cards, secondary_cards, maxes, iters, miscs) =
-      quintuple_for_scope Syntax.string_of_typ Syntax.string_of_term I scope
+      quintuple_for_scope code_type code_term I scope
     val cards = primary_cards @ secondary_cards
   in
     case (if null cards then [] else ["card: " ^ commas (map implode cards)]) @