Browse Source

add inline and external markdown images to example #2039

Hakim El Hattab 7 years ago
parent
commit
a0c013606e
2 changed files with 12 additions and 0 deletions
  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)