Ashwin_DSA
Databricks Employee
Databricks Employee

Hi @peterlewis,

On doing some research, I believe your assumption is correct. In Databricks notebooks, inline LaTeX (using single dollar signs like $ \sqrt{2} $) is generally not supported in Markdown cells.

Databricks uses a specific flavour of Markdown that is optimised for display blocks rather than rich text integration. 

If you truly hate the gaps created by block LaTeX, you can try a "hack" using HTML <span> tags, though results vary by Databricks runtime version and is not something I would recommend. 

Here is an example.

Snapshot.png

 

 

%md
The value <span style="font-family: serif; italic">√2</span> is irrational.

If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.

Regards,

Regards,
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***