markdown-live-preview/public/index.html

113 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="This is the online markdown editor with live preview.">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/github-markdown.css">
<link rel="icon" type="image/png" href="favicon.png">
<script src="js/jquery-1.6.1.min.js"></script>
<script src="js/jquery.autosize-min.js"></script>
<script src="js/marked.min.js"></script>
<script src="js/purify.min.js"></script>
<script src="js/ace/ace.js"></script>
<script src="js/main.js"></script>
<title>Markdown Live Preview</title>
</head>
<body>
<div id="header">
<h1><a href="/">Markdown Live Preview</a></h1>
</div>
<div id="container">
<div id="edit" class="column">
<div id="editor-wrapper">
<div id="editor"># Markdown syntax guide
## Headers
# This is a Heading h1
## This is a Heading h2
###### This is a Heading h6
## Emphasis
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_
## Lists
### Unordered
* Item 1
* Item 2
* Item 2a
* Item 2b
### Ordered
1. Item 1
1. Item 2
1. Item 3
1. Item 3a
1. Item 3b
## Images
![This is a alt text.](/image/sample.png "This is a sample image.")
## Links
You may be using [Markdown Live Preview](https://markdownlivepreview.com/).
## Blockquotes
> Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004 by John Gruber with Aaron Swartz.
>
>> Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.
## Tables
| Left columns | Right columns |
| ------------- |:-------------:|
| left foo | right foo |
| left bar | right bar |
| left baz | right baz |
## Blocks of code
```
let message = 'Hello world';
alert(message);
```
## Inline code
This web site is using `markedjs/marked`.</div>
</div>
</div><!-- Do not insert new line here --><div id="preview" class="column">
<div id="preview-wrapper">
<div id="output" class="content markdown-body">
</div>
</div>
</div>
</div>
<div id="footer">
<div id="copyright"><a href="https://git.a2s.su/iiiypuk/markdown-live-preview">
<img src="image/GitHub-Mark-Light-32px.png" alt="GitHub Logo"></a>
</div>
</div>
</body>
</html>