Skip to content

Instantly share code, notes, and snippets.

@negokaz
Last active October 10, 2018 00:44
Show Gist options
  • Save negokaz/615e1f2fdb72df1165cf3eb7ab7802a9 to your computer and use it in GitHub Desktop.
Save negokaz/615e1f2fdb72df1165cf3eb7ab7802a9 to your computer and use it in GitHub Desktop.
Template markdownarea.js
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<style>
body, html, div { width:100%; height: 100%; }
textarea.markdownarea { width: 100%; height: 100%; border: none; }
</style>
</head>
<body>
<textarea class="markdownarea" readonly>
# Markdown Here!
</textarea>
<!--
Add mermeid if you need
<script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script>
-->
<script src="https://cdn.jsdelivr.net/gh/negokaz/[email protected]/dist/markdownarea.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment