Kaynağa Gözat

add inline and external markdown images to example #2039

Hakim El Hattab 7 yıl önce
ebeveyn
işleme
a0c013606e
2 değiştirilmiş dosya ile 12 ekleme ve 0 silme
  1. 7 0
      plugin/markdown/example.html
  2. 5 0
      plugin/markdown/example.md

+ 7 - 0
plugin/markdown/example.html

@@ -99,6 +99,13 @@
                     </script>
                 </section>
 
+                <!-- Images -->
+                <section data-markdown>
+                    <script type="text/template">
+                        ![Sample image](https://s3.amazonaws.com/static.slid.es/logo/v2/slides-symbol-512x512.png)
+                    </script>
+                </section>
+
             </div>
 		</div>
 

+ 5 - 0
plugin/markdown/example.md

@@ -29,3 +29,8 @@ Content 3.1
 ## External 3.2
 
 Content 3.2
+
+
+## External 3.3
+
+![External Image](https://s3.amazonaws.com/static.slid.es/logo/v2/slides-symbol-512x512.png)