A Pen by Zachary Marion

undefined

Forked from Sylvain Peigney's Pen KwpOew.

Thumbnail
This awesome code was written by zacharyfmarion, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright zacharyfmarion ©

Technologies

  • HTML
  • CSS
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Zachary Marion</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <button id="show-result">Show result in console</button>
<div id="epiceditor">
<textarea id="my-edit-area">
# Vidit Aesonius capit

## Retro vidisse quibus mihi

Lorem markdownum colorque, sic et occursu, nec in harena molarem somnos, non
nervo, fortes. In et his dignissima [vagitus pia](https://tumblr.com/). Quoque
ferre auspiciis Phasidos desuetas animos, urguet formas ad neque hunc, suas,
ego.

> Aut perosus vires, ait quae? Et levitas truncis; quid umbrae subvolat et
> oculos cedendo nullique, manet eliso, haberent. Unus iamque, dum Tartara
> gradus candida infesto.

## Habebat et ingentem saepe

Montis gratus tamen aristas Neptunia. Datum ut viaeque solido, incola, voce
contemnere ait tecum. Siste ora haustos excipit tu mora suo, antiquis: sentirent
generum perosus omnes inque et iners, me. Coniuge tutum mugitibus atria: de
stemus bello.

1. Pallade vivere
2. O diffudit puppe
3. Aequora ore nisi Cereri nubere
4. Super vult obitum vincinaque habuere
5. Pia murmur filia curvata inportuna cursus
6. Inter medullas datis morte omnis

## Nec tum est in India memoranda furit

Meumque edidit longissima tecum, sed parantem quascumque caelo, et Perseu,
pondus inter. Uteri redeuntia temptare, te virorum sint per! Illis non Aeacide
**compescuit locavit obest**, ruit damna; nitidum **lumen**: maiora! Iniectam
micantes, orba artes, truncoque domos [pariterque
Pheneon](http://zeus.ugent.be/) perarantem *iudice*. Viderat ad undique, illa
pro ut transibant maris subsidunt paulatim.

- Cui si facit pia parte primum cruciatibus
- Ratis vixque
- Aestu caecis fugientem quoque Manto sic et

## Corpus modo vultu tenet corporis audaci generosior

**Et veneris et** quae Siphnon animus neque **nuper hederis** a natae *ignarus*
valuere. Referre **Pallante vetitum**.

1. Gradibus perbibit
2. Est quamvis
3. Nato crinita obstiterit viro hoc
4. Posito nisi est
5. Flumina ab domino avumque phaedimus
6. At urbem a calidumque

Oleniden venas aspexit donec, tempore quis patrio fele trahar. Parentes At
fessos ut Tyriam ergo quibus terras, Cnosiacaeque aenis, placidissime. Cressa
carnibus **aliqua**: hiems poma certaminis et [munera
inplet](http://omfgdogs.com/)? Madidis tectam: est in cornua si valens elige,
tactusque quaeris hostiliter vulnere utque insidias sidera ora gemitu.
</textarea>
</div>
  <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/epiceditor/0.2.2/js/epiceditor.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/zacharyfmarion/a-pen-by-zachary-marion-MYdOMW */
#epiceditor-utilbar{
  background-color: black;
  position: absolute;
  bottom: 0em;
  z-index: 1000;
}

#my-edit-area {
  display: none;
}

/*Downloaded from https://www.codeseek.co/zacharyfmarion/a-pen-by-zachary-marion-MYdOMW */
var editor = new EpicEditor({
  textarea: "my-edit-area",
  theme: {
    base: 'https://cdnjs.cloudflare.com/ajax/libs/epiceditor/0.2.2/themes/base/epiceditor.css',
    preview: 'https://cdnjs.cloudflare.com/ajax/libs/epiceditor/0.2.2/themes/preview/github.css',
    editor: 'https://cdnjs.cloudflare.com/ajax/libs/epiceditor/0.2.2/themes/editor/epic-light.css'
  },
  button: {
    preview: true,
    fullscreen: true,
    bar: "show"
  },
  autogrow: {
  	minHeight: '300px'
  }
}).load();

$('#show-result').on('click', function(){
  var result = $('#my-edit-area').val();
  console.log(result);
});

Comments