make a new pad that doesn't allow input.
It simply renders markdown that's being written in the same channel but in another editor that allows input.
This commit is contained in:
41
www/render/index.html
Normal file
41
www/render/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
||||
<script data-main="main" src="/bower_components/requirejs/require.js"></script>
|
||||
<style>
|
||||
*{
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.full {
|
||||
position: fixed;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid blue;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
font-size: 15px;
|
||||
background-color: #222;
|
||||
color: #CCC;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
textarea{
|
||||
left: 0px;
|
||||
display: none;
|
||||
}
|
||||
#target {
|
||||
right: 0px;
|
||||
overflow: scroll;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<textarea class="half"></textarea>
|
||||
<div id="target" class="full">
|
||||
<div id="inner"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user