mirror of
https://git.ludikovsky.name/git/mdlive.git
synced 2024-05-16 21:45:28 +02:00
Input und Output nebeneinander
Theming passt mit Blog zusammen Neuverarbeitung passiert wirklich bei Eingabe
This commit is contained in:
parent
24596c944e
commit
22cf9316a3
|
@ -4,14 +4,24 @@
|
||||||
<title>Live Markdown</title>
|
<title>Live Markdown</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="https://cdn.jsdelivr.net/jquery/2.2.3/jquery.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/jquery/2.2.3/jquery.min.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/font-hack/2.018/css/hack.min.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css" type="text/css" media="screen">
|
||||||
|
<link rel="stylesheet" href="https://ludikovsky.name/blog/blog.css" type="text/css" media="screen">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="input">
|
<div class="col-md-2"></div>
|
||||||
<textarea id="markdown" name="markdown" rows="25" cols="80"></textarea>
|
<div id="input" class="col-md-4">
|
||||||
|
<textarea id="markdown" name="markdown" rows="25" cols="80" style="max-width: 100%"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div id="output"></div>
|
<div class="container col-md-4">
|
||||||
|
<article>
|
||||||
|
<div id="output">
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-2"></div>
|
||||||
<script>
|
<script>
|
||||||
$('#input').change(
|
$('#input').on('input',
|
||||||
function(){
|
function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "http://localhost:5000/parse",
|
url: "http://localhost:5000/parse",
|
||||||
|
|
Loading…
Reference in a new issue