fcc-challenges/markdown-previewer/index.html

35 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="#" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity=
"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="markdownPreviewer.css">
<title>Markdown Previewer - Build a Markdown Previewer - Front End Libraries Projects</title>
</head>
<body>
<header id="buttonHeader">
<a href="https://github.com/TrentSPalmer/fcc-challenges/tree/gh-pages/markdown-previewer" target="_blank" id="forkOnGitHub" class="btn"><i class="fab fa-github"></i></a>
<button id="eraseButton" class="btn">Erase Editor</button>
<button id="reloadButton" class="btn">Reload Example</button>
</header>
<div id="test">
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</div>
<div id="editorAndPreview">
<div id="textEditor">
<textarea id="editor">
</textarea>
</div>
<div id="preview"></div>
</div>
<script type="text/javascript" src="defaultText.js"></script>
<script type="text/javascript" src="markdownPreviewer.js"></script>
</body>
</html>