You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it didn’t work. Instead, I customized the page template—and that worked! After reading the documentation source code, I realized I could add custom styles directly inside Markdown cell like this:
<!DOCTYPE html><notebook><title>Hello, world!</title><scripttype="text/markdown"><style>
blockquote, ol, ul {max-width: unset!important;}</style></script></notebook>
Everything works perfectly now! 🎉 I'm wondering if it might be helpful to mention this method in the documentation—especially for beginners like me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m so excited about Observable Notebook Kit! However, I ran into a small problem when trying to customize styles.
I wanted to apply the following custom styles:
My first thought was to write:
But it didn’t work. Instead, I customized the page template—and that worked! After reading the documentation source code, I realized I could add custom styles directly inside Markdown cell like this:
Everything works perfectly now! 🎉 I'm wondering if it might be helpful to mention this method in the documentation—especially for beginners like me.
Thanks for the great work!
Beta Was this translation helpful? Give feedback.
All reactions