Display html style in markdown

Naomi Lago 21 Reputation points


I'm trying Databricks on your cloud and I'd like to know how could I style an HTML using Markdown. The only way I found is using displayHTML() but it also shows the code snippet after running.
So, how could I get rid of the code snippet and just show the styled HTML?


Naomi Lago

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,706 questions
{count} votes

Accepted answer
  1. Dillon Silzer 49,166 Reputation points

    Hi @Naomi Lago

    I spent some time researching and testing in Azure Databricks and it is not possible to mix HTML and Markdown (%md). I tried mixing colors with markdown, but it currently is not supported.

    I would recommend if you'd like to see this being a feature you should submit feedback to Azure Databricks team at https://feedback.azure.com/d365community/forum/2efba7dc-ef24-ec11-b6e6-000d3a4f0da0



    If this is helpful please accept answer.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 70,016 Reputation points Microsoft Employee

    Hi @Naomi Lago ,

    Thanks for the question and using MS Q&A platfrom.

    Update from the Azure Databricks Product Team: The Databricks implementation of Markdown does not support text coloring.

    Note: You have to use displayHTML for that level of control. And you can use Hide Code when using displayHTML to remove the code.


    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is howd
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.
    0 comments No comments