@testset "limit HMTL output" begin @static VERSION ≥ v"1.4" && let # no limit doc = mock_run(""" ```julia using DataFrames DataFrame(rand(10,3)) ``` """; doctype = "md2html") @test isdefined(doc.chunks[1], :rich_output) @test count("", doc.chunks[1].rich_output) == 12 # additonal 2 for name and type row # limit n = 100000 doc = mock_run(""" ```julia using DataFrames DataFrame(rand($n,3)) ``` """; doctype = "md2html") @test isdefined(doc.chunks[1], :rich_output) @test count("", doc.chunks[1].rich_output) < n end end