Display html style in markdown

Naomi Lago 21 Reputation points
2022-08-30T18:58:14.14+00:00

Hi,

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?

236245-image.png

Best,
Naomi Lago

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

Accepted answer
  1. Dillon Silzer 54,646 Reputation points
    2022-09-03T04:50:16.763+00:00

    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

    237501-image.png

    ---------------------------------------

    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 77,751 Reputation points Microsoft Employee
    2022-09-05T06:39:13.1+00:00

    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.

    237713-image.png

    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