We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a17a62a + 53f961c commit 40a1e5eCopy full SHA for 40a1e5e
1 file changed
lib/stringformat.rb
@@ -50,7 +50,7 @@ def iterm2?
50
if kitty?
51
# Convert PDF to PNG for Kitty
52
png_file = tmp_file.path.sub('.md', '.png')
53
- system("convert #{pdf_file} #{png_file} >/dev/null 2>&1")
+ system("convert -density 600 #{pdf_file} #{png_file} >/dev/null 2>&1")
54
if File.exist?(png_file)
55
png_data = File.read(png_file)
56
base64_data = Base64.strict_encode64(png_data)
0 commit comments