mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 21:44:21 -04:00
First commit, version 0.2.7
This commit is contained in:
parent
61eb11d23c
commit
4b0ca55eb7
1379 changed files with 173000 additions and 0 deletions
58
public/views/pretty.ejs
Normal file
58
public/views/pretty.ejs
Normal file
|
@ -0,0 +1,58 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>
|
||||
HackMD - Collaborative notes
|
||||
</title>
|
||||
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
|
||||
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/bootstrap/css/bootstrap.min.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/font-awesome/css/font-awesome.min.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/highlight-js/github.min.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/site.css'>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container markdown-body" style="display:none;">
|
||||
<%- body %>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<!--<script src="<%- url %>/js/ga.js"></script>-->
|
||||
<script src="<%- url %>/vendor/jquery-1.11.2.min.js"></script>
|
||||
<script src="<%- url %>/vendor/lz-string.min.js"></script>
|
||||
<script src="<%- url %>/vendor/remarkable.min.js"></script>
|
||||
<script src="<%- url %>/vendor/remarkable-regex.js"></script>
|
||||
<script src="<%- url %>/vendor/gist-embed.js"></script>
|
||||
<script src="<%- url %>/vendor/string.min.js"></script>
|
||||
<script src="<%- url %>/vendor/highlight-js/highlight.min.js"></script>
|
||||
<script src="<%- url %>/vendor/emojify/js/emojify.min.js"></script>
|
||||
<script src="<%- url %>/vendor/raphael-min.js"></script>
|
||||
<script src="<%- url %>/vendor/underscore-min.js"></script>
|
||||
<script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js"></script>
|
||||
<script src="<%- url %>/vendor/flowchart/flowchart-1.4.0.min.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
|
||||
</script>
|
||||
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
<script src="<%- url %>/js/extra.js"></script>
|
||||
<script>
|
||||
var raw = $(".markdown-body").text();
|
||||
var markdown = LZString.decompressFromBase64(raw);
|
||||
var result = postProcess(md.render(markdown));
|
||||
var markdown = $(".markdown-body");
|
||||
markdown.html(result);
|
||||
markdown.show();
|
||||
finishView(markdown);
|
||||
autoLinkify(markdown);
|
||||
scrollToHash();
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue