<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rendering markdown images hard coded as data image png base64 in notebook in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53355#M6152</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/1180"&gt;@NateAnth&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Try changing the magic command for that cell from %md to %md-sandbox to see if that helps the image to render appropriately.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, that worked nicely, thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 17:58:45 GMT</pubDate>
    <dc:creator>DavidKxx</dc:creator>
    <dc:date>2023-11-21T17:58:45Z</dc:date>
    <item>
      <title>Rendering markdown images hard coded as data image png base64 in notebook</title>
      <link>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53325#M6150</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;For training purposes, I have cloned a repo from John Snow Labs into my Databricks account and am working in the notebook that you can review at&amp;nbsp;&lt;A href="https://github.com/JohnSnowLabs/spark-nlp-workshop/blob/master/open-source-nlp/03.0.SparkNLP_Pretrained_Models.ipynb" target="_blank" rel="noopener"&gt;https://github.com/JohnSnowLabs/spark-nlp-workshop/blob/master/open-source-nlp/03.0.SparkNLP_Pretrained_Models.ipynb&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;My little problem is with displaying images.&amp;nbsp; For example, see the diagram immediately above the section heading "SpanBertCoref", that illustrates some concepts on a sentence beginning with "The sun is shining".&amp;nbsp; In Databricks, the image doesn't render -- I only see the [image.src] placeholder instead.&lt;BR /&gt;&lt;BR /&gt;Looking inside the Markdown code in the image cell, I see a quite a long encoding that I can't quote exactly here, because it breaks this message board interface.&amp;nbsp; Here's a screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidKxx_0-1700585428705.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5253i3EC057D129ED914B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="DavidKxx_0-1700585428705.png" alt="DavidKxx_0-1700585428705.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From sources like&amp;nbsp;&lt;A href="https://superuser.com/questions/1199393/is-it-possible-to-directly-embed-an-image-into-a-markdown-document," target="_blank" rel="noopener"&gt;https://superuser.com/questions/1199393/is-it-possible-to-directly-embed-an-image-into-a-markdown-document,&lt;/A&gt;&amp;nbsp;I gather that this is a known method for hard-coding images into the notebook via the base64 encoding.&lt;BR /&gt;&lt;BR /&gt;Can Databricks notebooks be made to interpret and display cells like this correctly?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 16:51:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53325#M6150</guid>
      <dc:creator>DavidKxx</dc:creator>
      <dc:date>2023-11-21T16:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering markdown images hard coded as data image png base64 in notebook</title>
      <link>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53347#M6151</link>
      <description>&lt;P&gt;Try changing the magic command for that cell from %md to %md-sandbox to see if that helps the image to render appropriately.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 17:32:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53347#M6151</guid>
      <dc:creator>NateAnth</dc:creator>
      <dc:date>2023-11-21T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering markdown images hard coded as data image png base64 in notebook</title>
      <link>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53355#M6152</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/1180"&gt;@NateAnth&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Try changing the magic command for that cell from %md to %md-sandbox to see if that helps the image to render appropriately.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, that worked nicely, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 17:58:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/rendering-markdown-images-hard-coded-as-data-image-png-base64-in/m-p/53355#M6152</guid>
      <dc:creator>DavidKxx</dc:creator>
      <dc:date>2023-11-21T17:58:45Z</dc:date>
    </item>
  </channel>
</rss>

