Skip to content

Instantly share code, notes, and snippets.

@kevinoconnor7
Last active December 16, 2015 12:08
Show Gist options
  • Save kevinoconnor7/5432336 to your computer and use it in GitHub Desktop.
Save kevinoconnor7/5432336 to your computer and use it in GitHub Desktop.
Basic usage of my Bootstrap Pagedown plugin
<!-- Le script -->
<script type="text/javascript" src="js/jquery.pagedown-bootstrap.combined.min.js"></script>
<!-- Le CSS -->
<link href="css/jquery.pagedown-bootstrap.css" rel="stylesheet">
<!-- Le lift -->
<script type="text/javascript">
(function () {
$("textarea#pagedownMe").pagedownBootstrap();
})();
</script>
<!-- Le input -->
<textarea id="pagedownMe" class="form-control" rows="10">
This is the *first* editor.
------------------------------
Just plain **Markdown**, except that the input is sanitized:
<marquee>I'm the ghost from the past!</marquee>
</textarea>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment