mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 13:07:34 +00:00
Make first textarea on every page a md editor
This commit is contained in:
parent
697e471a03
commit
49a045023f
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@
|
||||||
|
|
||||||
@Scripts.Render("~/Scripts/simplemde.js")
|
@Scripts.Render("~/Scripts/simplemde.js")
|
||||||
@Scripts.Render("~/bundles/modernizr")
|
@Scripts.Render("~/bundles/modernizr")
|
||||||
|
<script>
|
||||||
|
var mde = new SimpleMDE({
|
||||||
|
forceSync: true
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@Scripts.Render("~/Scripts/highlight.js")
|
@Scripts.Render("~/Scripts/highlight.js")
|
||||||
|
|
Loading…
Add table
Reference in a new issue