Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added markdown examples in index.html and wysiwyg.html #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 45 additions & 3 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,57 @@ <h3>

<div class="markdown">

### Hello, World
# Hello. This is heading level 1.

## Hello. This is heading level 2.

### Hello. This is heading level 3.

#### Hello. This is heading level 4.

##### Hello. This is heading level 5.

###### Hello. This is heading level 6.

This is a paragraph.

* this
This is used to show a line break,
just break your text into multiple lines and include 2 or more spaces after each line,

This is **bold text**

This is *italic text*

This is both ***bold and italic***

> This is a blockquote

* This
* is
* a
* an
* unordered
* list

1. This
2. is
3. an
4. ordered
5. list

This is an image
![Tux, the Linux mascot](tux.png)

This is a [link](https://google.com).

This is a table

Food | Category
---- | ----
Carrot | Veg
Chicken | Non-Veg



<p>
<input type="text" />
</p>
Expand Down
Binary file added examples/tux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 49 additions & 9 deletions examples/wysiwyg.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,55 @@ <h3>

<div class="markdown">

### Hello, World

This is a paragraph.

* this
* is
* a
* list

# Hello. This is heading level 1.

## Hello. This is heading level 2.

### Hello. This is heading level 3.

#### Hello. This is heading level 4.

##### Hello. This is heading level 5.

###### Hello. This is heading level 6.

This is a paragraph.

This is used to show a line break,
just break your text into multiple lines and include 2 or more spaces after each line,

This is **bold text**

This is *italic text*

This is both ***bold and italic***

> This is a blockquote

* This
* is
* an
* unordered
* list

1. This
2. is
3. an
4. ordered
5. list

This is an image
![Tux, the Linux mascot](tux.png)

This is a [link](https://google.com).

This is a table

Food | Category
---- | ----
Carrot | Veg
Chicken | Non-Veg

</div>

<script>
Expand Down