← News

pdit 0.6.0: F-string markdown and image sizing

January 29, 2026

F-string markdown

F-strings now render as markdown, just like regular string literals. This means you can use markdown formatting in your f-strings and see the rendered output inline.

name = "pdit"
f"Welcome to **{name}**!"

Image sizing

IPython.display.Image now respects width and height parameters, giving you control over image dimensions in the output.

from IPython.display import Image
Image("photo.png", width=400)

Upgrade

Install or upgrade with:

pip install -U pdit