You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
398 B
17 lines
398 B
2 years ago
|
I Am Markdown
|
||
|
===
|
||
|
|
||
|
This is a simple Markdown component demo:
|
||
|
|
||
|
1. It uses the [marked](https://marked.js.org/using_advanced) library.
|
||
|
2. You can set options={} settings for marked.
|
||
|
3. It renders raw HTML so be careful letting people use this directly on your site.
|
||
|
|
||
|
You can <a href="/">link with a-tags too</a>.
|
||
|
|
||
|
You can also write tags directly like this:
|
||
|
|
||
|
<pre>
|
||
|
<code>let x = 1 + 1;</code>
|
||
|
</pre>
|