🏠 back to Observable

Can I change the width of a Markdown cell?


#1

All of the Observable notebooks I’ve seen wrap md text to a width of about 700px. Is it possible to change that width?

I’ve looked at the markdown entry in the Standard Library, the marked.js documentation, and Daring Fireball’s documentation, but I can’t figure out how to get the width to change.


#2

Sure thing: the max width is set by our default stylesheet, just to establish some readability by default. You can override it with a stylesheet in your notebook: here’s an example: https://beta.observablehq.com/d/1b3dd309af285e51