diff --git a/app/views/layouts/base_ec.html.erb b/app/views/layouts/base_ec.html.erb
index 0e1c6279..d8c45746 100644
--- a/app/views/layouts/base_ec.html.erb
+++ b/app/views/layouts/base_ec.html.erb
@@ -9,7 +9,9 @@
<%= favicon %>
<%= javascript_heads %>
<%= heads_for_theme %>
- <%= javascript_include_tag 'educoder/edu_application', 'educoder/edu_shixun','educoder/edu_shixunCommentsStar','educoder/jquery.raty' %>
+ <%= stylesheet_link_tag "/assets/codemirror/codemirror" %>
+ <%= stylesheet_link_tag '/editormd/css/editormd.min.css' %>
+ <%= javascript_include_tag 'educoder/edu_application', 'educoder/edu_shixun','educoder/edu_shixunCommentsStar','educoder/jquery.raty', '/editormd/editormd.min.js' %>
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2','css/edu-popup','css/edu-common','educoder/edu-main','educoder/edu-all', "css/edu-public", 'css/ketang', 'css/common', 'css/taskstyle', 'css/structure','scm','css/public', 'css/project','css/popup','repository','css/gantt', 'css/calendar', 'css/moduel', 'css/font-awesome', 'css/edu-tooltipster', 'educoder/magic-check','/assets/iconfont/iconfont.css' %>
<%= call_hook :view_layouts_base_html_head %>