ng2-markdown-to-html

demo based on markdown cheatsheet

Table of contents

Headers

{{ headers }}
{{ headers }}

Emphasis

{{ emphasis }}
{{ emphasis }}

Lists

In this example, leading and trailing spaces are shown with with dots (⋅)

{{ listsDot }}
{{ lists }}
{{ links }}
{{ links }}

Images

{{ images }}
{{ images }}

Code and Syntax Highlighting

{{ codeAndSynthaxHighlighting }}
{{ codeAndSynthaxHighlighting }}

Tables

{{ tables }}
{{ tables }}

Blockquotes

{{ blockquotes }}
{{ blockquotes }}

Horizontal Rule

{{ horizontalRule }}
{{ horizontalRule }}

Remote url

Using component with `src` property to fetch remote markdown file `app/markdown-demo/remote/demo.md`
Using component with static `python` code block ```python {{ demoPython }} ```
Using directive with `src` property to fetch remote html file `app/markdown-demo/remote/demo.html`

Using directive with `src` property to fetch remote C++ file `app/markdown-demo/remote/demo.cpp`